The templates need to be loaded using the text plugin for consistency
and for the templates to be packaged in the aggregated js.
Fix copyright header
Merge pull request #1560 from fmoloney/gridTemplateFix

Grid template fix