GPII-994: Adding jshint and jsonlint tasks

Added grunt with jshint and jsonlint tasks. Also cleaned up all the files to pass linting.

http://issues.gpii.net/browse/GPII-994