Changes event dispatcher implementation.  Adds integration test for dispatching to event handlers.