Fix timeouts

This is a fix for issue #142 

Basically using the polyfill function ensures that request.timedout is set to true before onreadystatechange is called (this is not guaranteed with ontimeout).
Why not just set the timeout directly on the specific XHR we're testing? Something like `requests[0].timeout = 0;` before line 1123, before the `clock.tick`