Update JSHint's options.

* add `quotmark:single`
* add `unused`
* remove `eqnull`
* remove `indent`
* remove `boss`
* remove `trailing`
Fix all JSHint warnings.
Add lib/*.js in JSHint target and the jshint one in test.