*
Revert "*"

This reverts commit d6f3ccbf84c38c56a163d8ff8cf05ea299388d1e.
Any existing data will now be setup with correct meta information
Bug fix: When retrieving latest serverTimestamp deleted items weren't being checked, resulting in deleted items being restore after sync
Test added to cover bug fix in previous commit (ab773e771ab9f7959a3d6788d6c6176da23c21d9)
Unneccessary DB query in delete function removed