update gruntfile.js

correct how templates are found and generated