XHR: Adapt to new FormData interface.
Env: Make it possible to globally override swf_url, xap_url and global_event_dispatcher path.