Event/Kobo/Queue: move RotatePointer instance into class MergeMouse

Apply the rotation before the bounds checks.  There was a big Kobo
regression in portrait mode: the bounds were applied before the mouse
position was rotated, and thus we had everything clipped at y<600
instead of y<800.

As a side effect, this feature is now available on all "console"
targets.  It will allows us to rotate the screen even if the graphics
driver doesn't support it.
Implement WGS84 earth model for distance calculations

Prepare #2809
Enable WGS84 distance calculations by default

Fixes #2809
Event/Console/Queue: always include DisplaySettings.hpp
PythonGlue: only add release time if it's plausible
PythonGlue: throw exception if igc file can't be opened
IGCFixEnhanced: fix compatibility with gcc 4.6