Upload time API.
Improve tests and UTC handling.
Merge pull request #69 from frankban/upload-time-api

Upload time API.