Fix whitespace and typos.
Add HTTP method and data to loadWithXhr.

Also switch to an options object, since most of the options are optional.
Remove unnecessary override of loadWithXhr.
Fixes after review.
Fix extra comma in example.
Merge pull request #1304 from AnalyticalGraphicsInc/addLoadWithXhrOptions

Add loadWithXhr options.