add WhenSessionEvent

Implement everything you need to register a Handler
for SessionEvents.

Works fine as Service and Console-Application.

Enable it:

service.EnableHandleSessionChangeEvent();

The Callback:

s.WhenSessionEvent((se, e, id) => {
	se.HandleEvent(e, id);
});