Added support for documenting event classes

Expects an event loading function that should return a list of event classes for a given service class.
worth noting that this will break backwards compat with anything using this functionality