Added an event emitter util class, and actor classes which extend it.

For #13
Closes #15