Keep track of the max template version
record the max_template_html_version in history

This will help determine things such as which sites are using the templates at all.