Gruntfile improved, unused dependencies removed from package.json, some code refactored to use 4 spaces.