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
should we parse the permission document we get and then write a more generic check? lets chat irl about it