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