add sync log id col to sync log report
limit results to 10
uphold overwrite_cache intention
Merge pull request #5024 from dimagi/sync_perf

misc restore related changes