Fix gruntfile template so it builds

This fixes the Gruntfile template so the Gruntfile can be built properly.

+ `<%= js %>` should be `<%= jsDir %>`
+ `<%= yeoman.app %>` and `<%= yeoman.dist %>` should be escaped; like `<%%= yeoman.app %>`