[bug 1018728] Add translation auditing

This adds some infrastructure for logging some of the things that
happen in the translation infrastructure to give us some more clarity.

r?