Upload to Velo Hero

Upload workouts (PWX export) to Velo Hero (http://www.velohero.com).

Author: Nils Knieling
Reviewed: Rainer Clasen
Updated Merge Tool Part 2c (last part)

.. UX to adjust now complete.

We may need to tidy a few things up, but this
is now good for working with the Moxy at the
very least.
Merge Wizard Mac Tweaks

.. a few tidy ups to make it look right
   when running on Mac OSX
Fix AllPlot Fill setting

.. was not always set, lost when removing the reference
   to parent->paintbrush in recent update.
HACK: AllPlot SEGV Fix

.. line 1289 of AllPlotWindow was updated to rebuild the
   plots when the ride was dirty, but it looks like there is
   a strange interaction when rideItem doesn't change and
   rideItem->ride() does.

NOTE: rides will not be refreshed after merge wizard completes
      until this is fixed up in AllPlotWindow.
Tweak Merge Adjust Code

.. logic error mean't the merge adjust only applied
   in one direction and also when ride got longer
   or shorter it was not reflected on the plot.
MergeAdjust give user more rope ..

.. and they will hang themselves !

.. seriously, the limits to the merge offsets
   added no real value but would annoy a user
   where the rides needed to be aligned to a
   greater proportion.

.. adjust can shift the offset for the entire
   length of the ride
Auto-Import - "no files selected" UI improved

... do not show "files table" and progress bar
... only provided "Finish" button to close the window
fix tab order for password settings

tab order defaults to the order widgets are created - and not the order
they're added to the grid widget.

Reordered code to bring creation + adding of Widgets in sync.
use ShareDialog for VeloHero and Trainingstagebuch

adjusted velohero + Trainingstagebuch upload to use new ShareDialog
ShareDialog optimizations

introduced a base clase for the individual uploaders to reduce code
duplication.

This made it possible to
- default to download a ride to a service if it wasn't uploaded, yet.
- grey out checkboxes for services without credentials
Pace zone shading and binning for running activities in speed histogram
Restructure Menus

.. added Edit for all ride data processors now we
   have quite a few to select from

.. shifted a few things around to make important
   options more prominent (e.g. Share) and less important
   ones less prominent (e.g. Heat Map)
always include ShareDialog

... but limit what individual services are build/offered based on oauth
availability (Strava, CyclingAnalytics). Load's of ifdef... making me
think about alternative solutions - especially now that the common
uploader base class allows to stuff them in a List/map/vector/whatever.
In CriticalPowerWindow add a Percent of Best to the hover message for the current ride when not in "Percent of Best" mode.
Recognise Keith Reynolds
IntervalSidebar: Add bests navigator
VAM CP x-axis bug #1085

... fixed by
...... not considering Y-Axis values in the 0 to 4.993 minutes range
which are not shown for VAM anyway
... both in standard view and in compare view / intervals and date
ranges
... handle intervals below 4.993 minutes properly (since they are not
shown in CP VAM)
Best xxTime y-Axis bug #1086

... rideCache access in getAllBestsFor did not honour series-decimals
Fix Metric/Imperial - conversion issues

In LTM Plot and on Summary Windows conversion
... data already converted for the curves was converted again
... for "Best" Summary the conversion was missing

Referring to issues #1067 #1071 (see also comments on issue #1069