[CB-5219] weinre disconnects when history.replaceState is used

Cordova XHR shim does not pass event argument for xhr.onreadystatechange event handler so some apps can work incorrect; Weinre for examples crashes and then disconnects. 
Added simple object which mimics required 'readystatechange' event instance.
See for details https://issues.apache.org/jira/browse/CB-5219