Will/jinja2 templates

Refactored report generator to use Jinja2 templates.
This will make it easier to update the appearance of reports in the future (for example, to use CSS in the HTML report)