lib.xcsoar.analysis: use xcsoar python api for analysis
lib.xcsoar.flightpath: use xcsoar python api for flightpath

Setting threshold to 0 does a polyline reduction based on 'pure'
Douglas-Peucker with no time-biased weighting and returning exactly
max_points points.
views.flight: use xcsoar python api in _get_flight_path

The api has a reversed output of the level of detail, so the client
doesn't have to reverse it itself.
templates/upload/result: use vertical bootstrap-tabs for flight list
templates/upload/result: show barogram of uploaded flights
Fork flot-selection plugin
baro.js: pass additional options to flot
Rename jquery.flot.selection.js to jquery.flot.flight-upload.js
jquery.flot.flight-upload.js: adjust coding style
jquery.flot.flight-upload.js: remove unnecessary y-range stuff
flight-upload.js: default selection color is dark gray
flight-upload.js: invert selection
flight-upload.js: every selection is sane.
upload.js: enable flight-times plugin, remove crosshair
baro.js: add method to show initial flight times selection
flight-upload.js: change selection only when dragging the takeoff/landing markers
flight-upload.js: smaller selection tolerance
flight-upload.js: remove debugging code
flight-upload.js: change cursor style if cursor is over a marker
flight-upload: don't stroke around gray area, show single lines only