worked on listeners a bit
Updated code with workaround for tsc 0.9.7 bug.
Added listeners spec
Revised model element registry extension to be event-based.
Improved test coverage for events, registry, and listeners modules.