Added command-line JS testing with Grunt.
Updated contributor docs with grunt info.
Formatting fix.
Merge pull request #1394 from joshuacc/4.0-wip

Added command-line JS testing with Grunt