Fix issues with requirejs, cleanup runtime and built files

Closes #51 

- Use an output template file since it's a little easier than joining arrays of strings
- Minify the jade runtime and use it locally inside our factory
- Use latest UMD in the output template so it works with requirejs and browserify