Add RE:DOM compatible action/event dispatcher
Add RE:DOM compatible action/event dispatcher

Add functions `listen` and `dispatch` which can be used to dispatch and
listen game events launched from RE:DOM components. Events launched with
`dispatch` should eventually be caught by the main game component.

Inspired by: https://github.com/pakastin/redom-state

frostburn/panel-league,frostburn/panel-league