Changed the interface to the record and replay infrastructure so that we can pass in a callback that is executed when a replay is complete.
Modifying the post-replay callback so that it uses the replay object argument.  Will eventually manipulate this object to extract the replay trace, and whatever information we need from that trace.  Replay does work correctly.  It opens a new tab with the same url, does the exact same actions.  However, the replay object that should be passed as an argument to the post-replay callback is empty.