Mock a the minimal subset of WebRTC for testing.

The intent of this PR is to introduce a basic mocking of the WebRTC API.
Might be helpful to enumerate the parts of the WebRTC API which are currently emulated.