Test the initialized flag for all arguments to Document#createEvent.
Test EventTarget#dispatchEvent(null).
Add a test for the empty string as event type.
Update Document-createEvent.js for spec changes.