Rewriting DOM provider/adding XHR provider/Worker provider.
This moves a lot of the shared EventTarget emulation/proxying code
to wtf.trace.eventtarget.
Worker snapshotting is not yet implemented as it requires a redesign of
the snapshot API.
Fixing document re-open.