Feature detect whether or not to run pushState tests.
Implements feature request and closes #306. Also fixes trailing comma error.
Fixes failing test in IE.