Refactor Event, EventType and EventResources. Some tests are still broken.
Fixed more tests. User, Group and Event tests are still broken.