Update to version 2 of data collection API.
* Send client upload time and checksum
* Rename setGlobalUserProperties to setUserProperties (setGlobalUserProperties kept for backward compatibility)