Add GPX details when available and ensure valid GPX 1.1

Included altitude, speed, and accuracy data in the
conversion, when available.  Also, ensured the output
validates as GPX 1.1.  This requires the elements appear
in the order they are in.