Make webmessaging tests more robust against timing variations.
Merge pull request #1241 from w3c/jgraham/webmessaging_timeout_fix

Make webmessaging tests more robust against timing variations; r=Ms2ger