Implement TCX {Average,Maximum}HeartRateBpm elements

Relates to issue #16.
Implement TCX MaximumSpeed element

Relates to issue #16.
Use consistent number-to-string conversion

This also reduces the chance of bad data resulting in broken / invalid
TCX files.

Relates to issue #16.