Make jsdom browserifiable and add browser test runner

To run the tests: `node test/browser-runner.js`. The runner accepts the same
options as `test/runner`, as well as some optional arguments that control the
test setup.
Document browser runner