Add Type support to HTML render.

I was trying to do #112, at least for my custom template. I found that there are issues at least in c++ where `vector<int>` would not render correctly in HTML (need to stripe < >`). So I thought I would just add support for Type objects to the HTML renderer...

It turned out to be a complicated task, I had to modify LanguageManager to give access to the language renderer and TemplateEngine to pass the current language to the HTML renderer.