Increased JSHint coverage.

* Increased scope of JSHint coverage to included the whole /test directory and /index.js
* Added .jshintignore
* Fixed lint issues in /test files and index.js