Add support for promises for XDomainRequest so libraries that leverage promises will work here just as they would have with jQuery's $.ajax promises