Bug 919840 - Use WebIDL codegen to implement WebRTC events, r=jib

--HG--
extra : rebase_source : ae7aa26cbfb775ddea775a0c084d4a8d1f6fa82e