Add an `on_new_event` third-party rules callback to allow Synapse modules to act after an event has been sent into a room.