window: fix up interval and timeout
dom/mutation_observer: improve code style
dom/event: implement deferred event registration
dom/document: fix up deprecated #to_native usage
spec/css/builder: update output
spec/dom/event: add specs for deferred event registration