Added support for documenting event classes

Expects an event loading function that should return a list of event classes for a given service class.