use grunt-contrib-jst to generate templates.js so we can use html
template files instead of strings embedded in the javascript
templates working in Firefox

- use grunt-wrap to wrap templates.js in an anonymous function
- create new grunt task 'templates' to call the 'jst' and 'wrap' tasks