Dojo xhr (#9339)
Dojo xhr (#9339)

* Makes xhr return a promise instead of void

Xhr takes an argument which determines it's return type--either
Promise (the default) or Deferred.  Currently in the type definitions,
it returns void.

I've also commented out the "helper" methods (get, post, etc.), to
match the source code--they're commented out there as well.

* Comments out entire interface body

Removes the entire interface with helper methods.

* Adds back "helper" methods to xhr

This methods are included via the `util.addCommonMethods` call, and
so should be in the type definitions.

one-pieces/DefinitelyTyped,benliddicott/DefinitelyTyped,gcastre/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,minodisk/DefinitelyTyped,hellopao/DefinitelyTyped,johan-gorter/DefinitelyTyped,Penryn/DefinitelyTyped,scriby/DefinitelyTyped,subash-a/DefinitelyTyped,damianog/DefinitelyTyped,benishouga/DefinitelyTyped,zuzusik/DefinitelyTyped,use-strict/DefinitelyTyped,tan9/DefinitelyTyped,arusakov/DefinitelyTyped,schmuli/DefinitelyTyped,rcchen/DefinitelyTyped,HPFOD/DefinitelyTyped,borisyankov/DefinitelyTyped,aciccarello/DefinitelyTyped,gandjustas/DefinitelyTyped,donnut/DefinitelyTyped,jimthedev/DefinitelyTyped,Litee/DefinitelyTyped,abner/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,psnider/DefinitelyTyped,ashwinr/DefinitelyTyped,Ptival/DefinitelyTyped,abner/DefinitelyTyped,nycdotnet/DefinitelyTyped,QuatroCode/DefinitelyTyped,jraymakers/DefinitelyTyped,frogcjn/DefinitelyTyped,florentpoujol/DefinitelyTyped,axelcostaspena/DefinitelyTyped,isman-usoh/DefinitelyTyped,psnider/DefinitelyTyped,magny/DefinitelyTyped,EnableSoftware/DefinitelyTyped,martinduparc/DefinitelyTyped,zuzusik/DefinitelyTyped,jimthedev/DefinitelyTyped,Zzzen/DefinitelyTyped,mattblang/DefinitelyTyped,nainslie/DefinitelyTyped,hellopao/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,daptiv/DefinitelyTyped,progre/DefinitelyTyped,minodisk/DefinitelyTyped,dsebastien/DefinitelyTyped,newclear/DefinitelyTyped,georgemarshall/DefinitelyTyped,abbasmhd/DefinitelyTyped,yuit/DefinitelyTyped,pocesar/DefinitelyTyped,sledorze/DefinitelyTyped,aciccarello/DefinitelyTyped,syuilo/DefinitelyTyped,Zzzen/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,magny/DefinitelyTyped,danfma/DefinitelyTyped,benishouga/DefinitelyTyped,zuzusik/DefinitelyTyped,rolandzwaga/DefinitelyTyped,pocesar/DefinitelyTyped,arma-gast/DefinitelyTyped,tan9/DefinitelyTyped,Penryn/DefinitelyTyped,YousefED/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,AgentME/DefinitelyTyped,jimthedev/DefinitelyTyped,rcchen/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,gandjustas/DefinitelyTyped,alexdresko/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,yuit/DefinitelyTyped,schmuli/DefinitelyTyped,chrootsu/DefinitelyTyped,mcrawshaw/DefinitelyTyped,donnut/DefinitelyTyped,danfma/DefinitelyTyped,use-strict/DefinitelyTyped,shlomiassaf/DefinitelyTyped,syuilo/DefinitelyTyped,sledorze/DefinitelyTyped,abbasmhd/DefinitelyTyped,mhegazy/DefinitelyTyped,scriby/DefinitelyTyped,paulmorphy/DefinitelyTyped,martinduparc/DefinitelyTyped,raijinsetsu/DefinitelyTyped,georgemarshall/DefinitelyTyped,ashwinr/DefinitelyTyped,paulmorphy/DefinitelyTyped,chrismbarr/DefinitelyTyped,xStrom/DefinitelyTyped,alexdresko/DefinitelyTyped,amir-arad/DefinitelyTyped,johan-gorter/DefinitelyTyped,progre/DefinitelyTyped,QuatroCode/DefinitelyTyped,jraymakers/DefinitelyTyped,Litee/DefinitelyTyped,YousefED/DefinitelyTyped,EnableSoftware/DefinitelyTyped,shlomiassaf/DefinitelyTyped,markogresak/DefinitelyTyped,smrq/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,xStrom/DefinitelyTyped,damianog/DefinitelyTyped,alvarorahul/DefinitelyTyped,amanmahajan7/DefinitelyTyped,alvarorahul/DefinitelyTyped,AgentME/DefinitelyTyped,newclear/DefinitelyTyped,mcrawshaw/DefinitelyTyped,frogcjn/DefinitelyTyped,arusakov/DefinitelyTyped,pocesar/DefinitelyTyped,arusakov/DefinitelyTyped,mattblang/DefinitelyTyped,benishouga/DefinitelyTyped,gcastre/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,martinduparc/DefinitelyTyped,nainslie/DefinitelyTyped,psnider/DefinitelyTyped,micurs/DefinitelyTyped,mhegazy/DefinitelyTyped,arma-gast/DefinitelyTyped,amanmahajan7/DefinitelyTyped,chrismbarr/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,raijinsetsu/DefinitelyTyped,rolandzwaga/DefinitelyTyped,florentpoujol/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,musicist288/DefinitelyTyped,smrq/DefinitelyTyped,dsebastien/DefinitelyTyped,mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped,subash-a/DefinitelyTyped,hellopao/DefinitelyTyped,nycdotnet/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,AgentME/DefinitelyTyped,HPFOD/DefinitelyTyped,isman-usoh/DefinitelyTyped,chrootsu/DefinitelyTyped,aciccarello/DefinitelyTyped,georgemarshall/DefinitelyTyped,Ptival/DefinitelyTyped,schmuli/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped