Implement Document.readyState. Prevent iframes from notifying the compos...

...itor after the initial parse. Fixes #1720. Fixes #3738.

r? @Ms2ger or @Manishearth