Update JSHint's options.

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