Sync scrobbles before publishing when needed
Add shouldSync(agent) to check remote scrobble records and the local DB;
call sync() if the latest remote CID is not present locally before
publishing a scrobble. Import sync from cmd/sync. Also update the
matchTrack logger to include the matched title and artist.