More js style fixes, added jshintrc to control rules.
Add grunt to .travis.yml build
install node packages in travis build.
Merge pull request #146 from tarmstrong/jshintrc-grunt-travis

Adding grunt to the travis build