Add support for 'html_lang' template variable

So that we can override the default 'en' lang-code for pages that aren't English.
Add support for 'html_lang' attribute to other targets