Use xhr 2.0.0 interface correctly, and handle retries properly
Merge pull request #45 from yahoo/xhr

Use xhr 2.0.0 interface correctly, and handle retries properly