Added OnPublishEvent and OnEventPublished to the InMemoryEventBus and InMemoryEventBusAsync