Make FakeXMLHttpRequest work under nodejs

Moved the self-invoking wrapper in util/fake_xml_http_request.js to make FakeXMLHttpRequest work under nodejs