Fixed the grunt build by adding the externs. Also added a
parameter that defines where the templates are stored.
 This should probably be a part of the build.