Move the supported arguments to Document#createEvent into a separate file.
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.
Merge pull request #1342 from Ms2ger/events

Various events tests; r=annevk