Invalidate incore cache when refreshing

If an incore cache of an aggregated RideFileCache is invalidated
by a ride in the same period being edited it does not clear
until the cache array is cleared (25 of them so likely to be
never) or upon a restart.

This fixes them being invalidated by refreshCache.
Refresh all curve when spikes edited and saved

.. will refresh after the metrics and cpx have been refreshed

.. it invalidates the data rather than refreshing immediately
   since thats expensive and better wait until refresh is needed.
Translation: More texts now available

Including
* ScopeBar 'Home', 'Analysis' selection names
* Downloaders: Powertap, Calendar
* Wizards: Split, Add device
DataFilters: Summary should have a filter

Missed off by accident when filtering was added.

Fixes #536.
Defer metric refresh till end RideImportWizard

.. speeds up large imports considerably.
Revert "Code Cleanup: RideFileCache remove mallocs"

This reverts commit 6fdc55528f6f5bf704b93a7f101634c3f4908928.

The performance decrease is considerable. Using mallocs across
my personal ride collection takes 5:19 to compute all the caches.
Using the QVector equivalent took 22:40.

Need to consider looking at QVector across the GC codebase.
Multicalendar double update fixups

.. lots of unneccessary setting of dates and refreshing optimised out.

.. but probably more lurking coz we handle updates from all over the
   place and worse to miss one than do it twice in most cases.
MultiCalendar updateEnabled setting

.. in setRide() to avoid 'flickery' update.
GcCalendarModel optimise updates

.. don't reset if the current month and year are the same as
   the current selection and no rides have been added or deleted.
Clear stale flag when update!

.. last commit missed the critical line of code.
GcCalendar optimizations

Updated GcCalendar and GcCalendarModel to reduce model
refreshe and redraws when not visible or the month/year
hasn't changed.

Fixes #538.
Repaint in DiaryWindow

.. now we've optimised out the model resets the diary window
   (calendar chart) needs to explicitly repaint when a ride is
   selected because the model won't reset unless the ride selected
   is for a different month to the one currently shown.
Update gcconfig.pri.in for latest libkml

.. minimum versions (i.e. 64bit)
.. additional dependencies (minizip etc)
Added CLucene patch for Win32

It corrects removal of threading support against the 2.3.3.4
head. This is required for Windows builds at present.

I also added an INDEX in the contrib directory for all the
other things we've snaffled into the repository.
Documentation: Manual Chapter 3 WIP

.. committing for the day.
Enable translations in Devices and update spanish translation
Merge pull request #541 from amtriathlon/27740dbe5c3c23d2f2f5112b926b2fae0955e8bc

Update Spanish Translation and enable additional translations in Devices
RideSummary summarise Activities

When summarising a date range we now list the rides
where on a ride summary it would list intervals.

Fixes #542.
merge master into personal