Merge pull request #254 from inthause/documents

Add new publicationStatus document property constraint
Refactor event registration.