Improve gruntfile to easily add another tasks in the future

I clean up a little bit the gruntfile.js. Easy to maintain and add another tasks.

I would also recommand to not push all the compile ressources, like the dist/ folder and the node_modules folder.