Mock a the minimal subset of WebRTC for testing.

The intent of this PR is to introduce a basic mocking of the WebRTC API.
This should probably leverage a `before` and `after`. Otherwise, on a test failure the Browser API will be left in a bad state.