Added formatting facility for Distance.

Added DistanceFormat and modified Distance.BestMeasureAs prototype to
include optional DistanceFormat.