Test Suite Adjustments

This PR adds code style / governance testing using JSCS as well as a few adjustments that make installing and running the testing environment simpler. The governance test spec was derived by studying the existing codebase within `./js` and attempting to implement as spec that was a close as possible. A few inconsistencies and small "bugs" (namely implicit type casting) were corrected as a part of the PR as to allow all tests to pass. In addition, the `unit` test suite was modified to match the existing code style.