Added the ability to render the html version of the report inside a template that can be customized.