Added code generator for Ambit Distance App

Generates the Suunto Ambit code for the app to keep track of the
distance part of the interval.