chore (grunt upgrade): upgrading to grunt 0.4.2

Upgrading to grunt 0.4.2 and upgrading all the dependencies
and making necessary code changes to use those dependencies.
Merge pull request #406 from doowb/grunt-upgrade

chore (grunt upgrade): upgrading to grunt 0.4.2