Added categories to the event emitter.
Merge branch 'modules' of github.com:scrollback/scrollback into modules