Update to grunt v0.4

There is still a problem with PhantomJS, a dependency of
grunt-contrib-qunit.