Browser compatibility fixes.

Fix test suite failures on IE9/10 (related to `Object.setPrototypeOf` and strict mode), Chrome canary (`constructor` is not writable), and Chrome 26/27 and Opera 15 (timeouts caused by excessively slow 1Hz execution of `setTimeout(..., 0)`).