Implement {Worker,DedicatedWorkerGlobalScope}.onmessage.
Merge pull request #3077 from Ms2ger/onmessage

Implement {Worker,DedicatedWorkerGlobalScope}.onmessage; r=abinader+Manishearth