To handlebars

Moved a bunch of the templates to handlebars.
Wow, good riddance.