Add KML details and ensure valid KML 2.2

Now, KML files will include details (accuracy/speed/altitude) if they are in the original JSON data.  Also, it produces valid KML 2.2.  One problem preventing them from being valid was the order of the XML tags!  After testing on my own data, Google Earth and validators are both happy, now.

This should merge right into the current master branch, but I have another pull request coming, also from the master branch.