added polymorphic dispatching of events and commands
tweaked build
Merge branch 'master' of https://github.com/kvarv/LightBus