AllPlot: plot references lines
Calibration Messages minor update

.. add some sample files with calibration messages to the
   test/rides directory

.. remove the calibration marker color config (we can add it
   back if needed, but was in the wrong 'sequence' and is
   probably just a little bit *too* fine grained).
More MainWindow tidy

.. remove unneccessary class members

.. reorg to highlight where the remaining members need to
   migrate to
Remove qDebug from FitRideFile

.. commented out so can reuse when debugging etc.
More MainWindow tidy

.. reduce the number of public members
A little less MainWindow

.. trying to remove it from as many headers as possible.
Fix QTFullScreen compile error

.. needed Context and MainWindow headers
Remove MainWindow unused

.. QPushButton *full was never used.
Deprecate unused GcWindowTool
Deprecate DatePickerDialog

.. not sure its actually been used in the code
Fixup refactor SEGV in StreetView

.. wasn't initialising context.
Fixup Athlete/DBAccess/MainWindow dependency

A bit of a mix of stuff, but basically the Athlete
class has sql stuff in it, that DBAccess used but
also referenced a session number in MainWindow.

Removed the interdependency and moved all code to do
with DB to DBAccess and out of MainWindow and Athlete.

At the same time needed to clean up a bit of memory
management and so introduced a MainWindow and Athlete
destructor.

We are now ready to do refactor part 4 to split MainWindow
into a new View class (that will be in each tab).
More Athlete destructor

.. forgot to destroy the Lucene, NamedSearches and RideMetadata
   instances in the Athlete destructor
More MainWindow Tidy

.. remove dateChanged unused member
.. remove recordMeasure unused member
Checkpoint TabView commit

Part 4 of the MainWindow refactor is moving the code for the
4 views (Analysis, Train, Home, Diary) out of MainWindow and
into a separate set of classes.

TabView is the base class for the 4 views and the basic code
is in this commit, but now need to work on the 4 derived
classes for Analysis, Home etc and the controller class 'Tab'.
Move filters from MainWindow to Context

.. we notify search/filter updates via context rather
   than MainWindow
MainWindow Refactor Part 4 of 5

Split the views in MainWindow into separate classes;

* Tab is a collection of the 4 main views

* TabView is a base class for all of the 4 view types

* {Analysis,Train,Diary,Home}View are all derived from
  TabView and deal with specifics of those views (e.g.
  Diary/Home worry about date ranges).

We should be ready to move to tabbed athletes soon.

There are a few nits left for this part of the refactor
that will need to be resolved in some fixups over the
next few days;

* tile mode segment selector has wrong segment selected
  when the view is in tile mode.

* Minimum height/width of MainWindow is large for some
  reason

* the Train view controls (play, ffwd etc) have nowhere
  to go at present -- need to fix that !!!

* When you resize the mainwindow width the sidebars expand
  and should remain a fixed width

* not sure if it will build on Windows or Mac!
Refactor fixup resize

.. it was not possibe to resize the window because
   the blankstate page was too big.

.. blankstatepage is hidden for now until we fix the
   logic for it in TabView
More MainWindow Tidy

.. headers in MainWindow.cpp and deleted commented out
   members in MainWindow.h. Moved Spacer to GcToolBar.h
Fix TrainSidebar SEGV on Exit

.. by stopping any active session in the close() method
   and not the destructor.