upgrade Gruntfile.js according to https://github.com/gruntjs/grunt/wiki/...

I upgraded project to use Grunt 4.0 instead Grunt 3.0. The major changes are in Gruntfile.js but also I have made update package.json file.