Makefile: use Android NDK r8d

Use the newly distributed gcc version 4.7 instead of 4.6.
Geo/Math: bit shift instead of division in EarthDistance()
Geo/Math: optimise fixed-point multiplication
Math/fixed: pass value_t arguments, remove explicit casts
Manual: Correct link for "time status".
RowFormWidget: add SaveValue(uint8_t) overload

Prepare for optimised enum code path.
RowFormWidget: use templates to work around alignment compiler warning

Switching the Android build to gcc 4.7 (NDK r8d) gave us new compiler
warnings about cast alignment.  This patch fixes this once and for
all, and adds a new optimised code patch for enums based on uint8_t.
Android/*Device: use "final"

Allows deleting an instance without virtual destructor.
Merge branch 'v6.4.x'
WindowFilter: Use auto keyword to simplify assignment
README: Added "Ant" as Android requirement
UTM: Cache sqrt() call in ToGeoPoint() method
UTM: Cache another sqrt() and pow() call in ToGeoPoint() method
UTM: Simplified CalculateZoneLetter() method
build/imagemagick: Removed im- prefix for WINHOST=y

The only known working toolchain is using the im- prefix too
OS/FileDescriptor: use std::swap() in rvalue assignment

Fixes the "a=std::move(a)" bug and reduces overhead.
RowFormWidget: support Widget rows
dlgConfigFonts: don't use XML layout

Reimplement using RowFormWidget.
Dialogs/FontEdit: use LargeTextWindow for the preview

Support for custom fonts will be removed from WndFrame soon.
Revert "Form/Frame: call Window::SetFont()"

This reverts commit 5f45451c311a8f020bd505f70d8d7bdd84c682c1.

WM_SETFONT is documented to work only with "controls", see:

 http://msdn.microsoft.com/en-us/library/windows/desktop/ms632642.aspx

The web site does not define what a "control" is, but practice shows
that this means dialog controls ("TEXT", "EDIT", ...) and that the
message is ignored by the default window procedure.  Therefore, we
need to select the HFONT explicitly for each WM_PAINT.

TRAC #2507 has now been solved by not using WndFrame for font
previews.