Add EventsCapableTrait and refactor event configuration
Merge pull request #209 from inthause/documents

Add EventsCapableTrait and refactor event configuration