continued upload fixes

- save time related transforms
- implement set_time_info with tests (requires gsconfig update)
- use set_time_info in upload instead of non-existing function
- fix form to correspond to fields used in template, add clean and tests
- integration test fixes + cleanup

other:
- provide default port for geoserver datastore if missing and check if
  enabled
- remove superfluous check for layer in upload
- pep8
uploader client-side fixes

- fix for 'Mismatched anonymous define' error in time page by relocating
  script load order
- refactor logStatus and logError to common module, support more options
  and fix various broken use of `self.markError`
- refactor doUpload to time module
- minor style/html cleanup on time page
- fix incorrect form field name on time page
- cleanup various dangling commas
- don't probe geogit stores unless enabled