Adds build, dist and node_modules to .gitignore.
Fixes outdated tasks in Gruntfile.js.