Erb templates

Adds handling `.hbs.erb` (or other extensions) files so you can for example use `<%= image_path %>` in the template.

I've forked this off of the branch for #101 so that should be merged first.