fix bug

need to check for nulls
add unit test to cover previous checkin fix
update to use transmittable as the root Event

Event now extends off of transmittable, it's ok for now but would be
nice to be able to remove the need for the dependency on transmittable
Revert "update to use transmittable as the root Event"

This reverts commit 84ec02e76d2226d1d9b035ce598ab13fab5cebba.
tidy up
tidy unittests
emit same Event object with custom data inside

emitEvent now wraps the data object passed in to it inside an Event
object withthe event metadata on it.
minor readme fix
Merge remote-tracking branch 'origin/dev'