Added grunt linting

Automated linting of our files is a good idea for a distributed development environment. This commit added the necessary packages for the grunt task-runner and configured it for linting our javascript.