Passing in the full failed request to xhrerror
Merge pull request #6 from chrisbuttery/master

Passing in the full failed request to xhrerror
Automatically rewritten for npm.