Add config and command for jshint
Add linting to travis and fix failures
Fix the --verbose option in the test runner
Fix env test to check for proper exception

The test didn't check for what it actually wanted to test. The contained
code did actually throw, however that was only the case, because jsdom
was undefined, instead of a thrown error by jsdom.env.
Add more clearity to tests run by the w3c suite

Pages where script errors occur will now result in a failed test and
successful assertions will also be counted.
localName should not be null for ELEMENT_NODE
Add document.implementation.createHTMLDocument()
Add a note about how to update the web-platform-tests submodules
Version 1.1.0
Initial history.length should be 1, not 0.

This brings jsdom in line with both the spec and with browsers, and fixes an issue
where calling `history.pushState()` and then `history.back()` would fail to trigger a
`popstate` event for the `back()` call, since there was no initial history entry to
navigate back to.

From https://html.spec.whatwg.org/multipage/browsers.html#browsing-context:

"When a browsing context is first created, it must be created with a single Document in its session history..."
pushState()/replaceState() shouldn't fire popstate

The spec doesn't say that `pushState()` or `replaceState()` should trigger a
`popstate` event, and browsers don't fire a `popstate` event after a `pushState()` or
`replaceState()` call. `popstate` should only be fired during traversal.

https://html.spec.whatwg.org/multipage/browsers.html#history-1
Cleanups to the living level

This more clearly modularizes the code while avoiding side effects.
JSHint cleanup
Add a helper to define constants on an object and its .prototype
Add support for NodeFilter constants
Version 1.2.0
Merge remote-tracking branch 'upstream/master'