Upload fixes

this fixes #1674 and other issues including the fact that time support was completely broken

happy to squash this down. would appreciate any review or testers or other discussion

depends on: https://github.com/boundlessgeo/gsconfig/pull/79 for time support working correctly