Replace deprecated Grunt directives

Per https://github.com/gruntjs/grunt/wiki/Upgrading-from-0.3-to-0.4,
directives are now removed/deprecated and have been replaced with these
templates