Mock a the minimal subset of WebRTC for testing.

The intent of this PR is to introduce a basic mocking of the WebRTC API.
These tests don't seem to have anything to do with the dialect, but maybe I missed something?