Feature js hint

refs #77

Cleaned up most jshint problems.

Issue that remains (with a @TODO)

test/tests/peer-integration/specs/peerSpec.js
  line 52  col 13  'generateClient' is not defined.