Extract EventRepository for Event

So we can use this to decorate application events with logging for [#61987212]

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Inline class methods on Event

Since they have been moved to EventRepository now [#61987212]

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Fixing tests

Accindentally pushed previous commit

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Inject the EventRepository in apps and spaces controller

Follow existing pattern to inject event repository dependency

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Split AppEventRepository and SpaceEventRepository

[#61987212]

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>