Provide standardized util function for rotation conversion.
Add timestamp in and formatted debug string.
Merge branch 'master' of https://github.com/googlesamples/tango-examples-c.