Add support for CORS / XHR

This is ready to be looked over now.
Is this the correct ActiveXObject?
http://snook.ca/archives/javascript/xmlhttprequest_activex_ie