Add a PDF renderer and style error links better.

PDF outputs are now shown inline if possible.
[TAV-232] Hook in the stats gathering machinery.

Use a post run callback to gather workflow and user usage information.