add JavaScript Code Style validation by adding jscs

jscs( is a new code style validator utility for
JavaScript, that can be used to enforce specific code style rules.

This change adds configuration and grunt task for jscs. The configuration
is again kept outside of gruntfile for editors with live linting
support. It is currently configured to strictly default to Google's
styleguide as described on

This change doesn't affect existing developers on the project as they
are already following Google's styleguide (hopefully), but helps new
developers looking to contribute to JavaScript to conform strictly to
the code style expected of them.

Another change in the 'Improving Developer Experience' series.

Change-Id: I2a8ed38b785a19f379d22abfa99b1a022482bb51
3 files changed