ENH: Add grunt build system for compiling templates

This uses jade to compile all of the template files under
the templates directory into built/templates.js, to be
imported into the main view.