Don't reset ANT channel settings on search timeout

Wiping out these settings prevents a successful reconnection
of the device if it comes back into range

Fixes #514
Merge pull request #731 from dresco/ANT

Don't reset ANT channel settings on search timeout
Show reference lines on CP chart

.. but only when showing a 'power' data series
   such as NP, xPower, aPower etc.
Merge branch 'master' of github.com:GoldenCheetah/GoldenCheetah
Add Filter Sidebar

To allow selection of filters aka Named Searches when
plotting charts.

Fixes #732
Fix LC_LOCALE on Xcode 5

by including "locale.h".

Fixes #734
Fix LTM title filter color bug

.. the title of an LTM chart doesn't change when you
   select or deselect a filter in the sidebar.
Fix sidebar sizing bugs

.. part of the refactor of mainwindow saw the sidebar
   sizes independently set and therefore using different
   settings.

.. we now use the old setting if first time through, or
   if first time run for athlete set a sensible default.
Prefs pane sizing to font size

.. to stop it being too small when you select a larger font.
Bests offset error

.. when plotting 1s best aka Max Power, the code was using
   the wrong offset (out by one) and returning 0w.
Cache StressCalculator in LTMPlot

A bit of a compromise since really we should move the
stress calculators to the Athlete class and reuse when
no filtering is applied.

This code fix just means the SC is not recalculated for
each of the individual curves (LTS, STS etc) and pretty
much halves (or better) the time taken to refresh the
LTMPlot.

For those with very few rides (<500) this isn't much of
an issue, but for some with lots (2000 or more) it can
be quite tedious.
Fix find intervals no gps/speed bug

.. flawed logic mean't that findBests didn't work
   when distance is not present via speed or gps.
Windowless border on metric refresh popup
Introduce SB Lowpoint

Let the user define the lowpoint for stress balance -- this is
so we can highlight or alert when they go below.

From a post-hoc perspective it is useful for identifying where
they went too low, but also for planning it helps to stop
planning to fail.

Will update the LTM chart to highlight it alongside SB metrics.
Plot Background and CP chart

If you change the plot background to black then the
CP curve is always in black too so becomes invisible.

Added a customisable color for the CP curve and fixed
up a few redraw issues in CP and Ride plot when you
change the colors.

Still need to fixup the other charts, but will do over
time. I suspect almost noone changes the plot colors from
the default values.
Fix up CP markers

.. to use the right colors.
QT5 -- 1 of 3

Porting the codebase to QT 5 (5.2) to get the
latest bug fixes, performance and improved platform
support.

This first part is to fixup the codebase to compile
on Qt 5, but some aspects have been broken (video).

The second part is to migrate from Qwt 6.0.1 to the
latest Qwt for multiaxis support.

The third part will be to fixup any platform specific
issues or issues identified at runtime.
QT5 -- remove old qwt
QT5 -- Add Qwt 6.1-multiaxes
QT5 -- QWT 6.1 canvas fixup