Increase default tile age check to 7 days.

Better alignment with OSM policy:
http://wiki.openstreetmap.org/wiki/Tile_usage_policy
Fix compilation with curl 7.21.7 (SF#3376584)

Remove include of curl/types.h, which has been deprecated for a long time.
Releasing version 1.2.2
Fix error identified by cppcheck 1.52.

Error is index out of bounds, existing since initial commit 50a14534a51f892500ee82f867e8ab2f85b936ae.
Fix error identified by cppcheck 1.52.

Error is a memory leak, existing since commit 8c721f83feaa525b9fd0de58b9fc6dc7698b4a48.
Fix error identified by cppcheck 1.52.

Possible null pointer dereference, since old commit 9903c3881ddd463c078931c2ffb10f8fea45e6b1
Fix error identified by cppcheck 1.52.

Remove redundant check added by old commit b42a25ba53c5097c14a41a22074c6b0d7c4346a7
Fix error identified by cppcheck 1.52.

Error is index out of bounds, introduced by commit 6bb723502bba45fec1ba064598558368632e60de.
Fix error identified by cppcheck 1.52.

Error is index out of bounds, from old commit 941aa6e9dcad8baa3952be9fc50c7635be8eaab4.
Reduce scope of wikipedia_submenu variable, as it's not used if VIK_CONFIF_GEONAMES is not enabled.
Restore compilation of test program gpx2gpx.

Code tidy up in commit a7cd93ac0848d91f1cf133a934c473cc4054c532, means direct layer functions are no longer available.
Allow TrackWaypoint layer creation without a viewport.

This allows the test program gpx2gpx to run, as it does not use a windowing system.
Fix compiler warning.
Correct format for an include statement of a C standard library.
Fix small memory leak in geotagging images processing.
Add an image with GPS Information for testing purposes. (Location Brecon Beacons in Wales).

This photograph was taken by myself and I release it as Public Domain.

The GPS Information was embedded via use of gpscorrelate.
Add an image without GPS Information and the associated tracklog sample for testing purposes. (Location Stonehenge in England).

This photograph was taken by myself and I release it as Public Domain.

Use this famous location for a geotagging sample.
Update HACKING information for contribution recommendations.
Better memory cleanup on unint.
Add ability to open a TrackWaypoint layer with an external program (default JOSM).

This is ideal for editing around the track and waypoints with OSM, as it's very unlikely Viking will ever be an OSM editor - it's best left to other dedicated programs.
The layer is converted to a temporary GPX file, but it is not deleted as loading it with another program is not instantaneous.
For now it is up to the user to delete it / use system temp cleanup methods.

The program can be changed by the user and is stored in the preferences.

This *hasn't* been tested on Windows OSs. It's possible a full path to the program may be needed to invoke it on such systems.