Refactored datasync so SyncableDataSet and all the sync operations are portable

Unfortunately, the unit tests need an equally big refactoring now, and this hasn't been completed yet.
Made the todo-list capable of performing a round-trip datasync exchange with the server-side sync service
backup of work in progress. this commit will be replaced.