Added tests for main.js (module's main file)
Refactored tests for EventDispatcher
Fixed EventDispatcher.notify method
Removed unused variables; Removed internal EventDispatcher reference; Use EventDispatcher default priority when registering handlers in Listener.register