Add the timequery generation to the usercache
Add the timequery generation to the usercache

Code moved from the server sync as part of
https://github.com/e-mission/cordova-server-sync/pull/18/commits/a59fb16004ab447717e1e8020dee0201ca055988
(https://github.com/e-mission/cordova-server-sync/pull/18)

Resolve another TODO while we are cleaning up anyway...

shankari/cordova-usercache,e-mission/cordova-usercache,shankari/cordova-usercache,e-mission/cordova-usercache