Catch exceptions on xhr.open
Adds error tests for most status codes
Merge pull request #70 from vladikoff/error-tests

Test clean up
Merge pull request #73 from vladikoff/fix-43

Catch exceptions on xhr.open. Fixes #43