Moved window event handlers out of iframe reporter.  runPromise is no longer attached to BrowserSandbox prototype to prevent accidental resolve.  BrowserSandbox doesn't have to get a message of type "parent", as parent is already a property of the frame's window.