Peter/trace upload

Adds the following features to trace uploading:
- button to upload traces
- compression of file to gpx.gz
- no writing file to disk
- sets a lower bound on the number of points for a trace
does logging in trigger this init? I'd want the alarm to fire despite user being logged in or not so that when the user logs in things will be uploaded. Basically alarm would trigger a noop.