Change gruntfile and update dependencies

Clean up Gruntfile using a node library that finds all the installed grunt-tasks and applies them.

Also, move out some dependencies to dev_dependencies and update the versions for some packages.
please don't remove those.