Mock a the minimal subset of WebRTC for testing.

The intent of this PR is to introduce a basic mocking of the WebRTC API.
I'm going to do it so that there is one place we can change the default. Great idea. Updated tests too.