renaming client part of sync
some functionality moved from backend to sync; some cleaning up already
performed
version is attached to data in mongo_provider, not in publisher
publisher contains a class and creates one default instance for convenient usage
Rename libraries.
clean_server does not exist now, clean_ajax is used
default_publisher was renamed to PUBLISHER, now it is final variable
test of publisher get data
test of publisher's method handleSyncRequest
added missing lines at ends of files
Added argument checking to add, change. remove methods; some renaming.
Small reorganization of code, so that it is more readable.
Merge pull request #1 from hleumas/test

Test