Testing infrastructure

Add setup for grunt support
* jshint
* jscs
Add setup for qunit on node
Add setup for jsduck

Fix minor formatting bugs identified by the above

Change-Id: I2308eedc87d31413a88194e1c5cca23c6f4c2bec