Added rudimentary data handling to sync function.

	modified:   api/services/NSServerSync.js
	modified:   test/api_services_NSServerSync.js