Write test results to windows.global_test_results.

This allows Sauce Labs to grab the output and store along with the test
results.

Load [JSON3](https://github.com/bestiejs/json3) for JSON support in
older browsers.