precompile templates during build and add support for compileOptions

that way it can be used with the [handlebars.runtime](http://handlebarsjs.com/precompilation.html) after build (which is way smaller ~1KB).