Used JSCS and fixed violations

* Integrates grunt-jscs into the `grunt test` task.
 * Uses the `google` preset with a few rule overrides.
* Fixes violations of the styleguide

Part of the task of bringing JSCS to grunt core: https://github.com/gruntjs/grunt/issues/1247
`~` and `^` inconsistent with other dependencies .