fix grunt support for 0.4

grunt 0.4 is out now and gets pulled as latest, this requires changing the `grunt.js` to `Gruntfile.js` and some minor syntax changes.