Added triad<t>::to_polar() to common/triad.h

Task @T93 : Added a new method to return the current triad as a
polar. It is assumed the triad is in cartesian form at the time of
the call to to_polar() but this is not enforced in any way. Let the
developer beware!