Switch cors test hosts to avoid redirect issues
[#22] Don't use CORS XHR proxy if it is not available

This fixes an issue where an XHR instantiated after plugins are loaded, but
before the Android background window is open will fail becuase the
corsXMLHttpRequest object does not yet exist.