implemented Modules.Events.dispatchEvent, Modules.Events.dispatchDocumentEvent (experimental, without tests completed): fix test
implemented Modules.Events.dispatchEvent,removed Modules.Events.dispatchDocumentEvent – not needed