Implemented event management.
Make the event manager available from the Diane class.
Some tests for the EventManager.