Molint moproblems

fix(tests): Fix the jshint errors and warnings in all of the tests & enable jshint in the `app/tests` directory.

* Remove all of the remaining `global: *` declarations
* Remove or comment out all veriables that are "defined but never used"
* Use dot notation where it is "better" (very subjective)
* Make unreachable code reachable.
* Enable jshint in the `app/tests` directory.