Implement MessageEvent::dispatch.

This avoids duplicating the dispatching code for multiple postMessage
implementations.
Implement Worker.postMessage.
Merge pull request #2867 from Ms2ger/postMessage

Implement Worker.postMessage; r=larsberg