Move all the event handling logic to the `revng.daemon` logic, since now fifo notifications also include the JWT token (if present) of the request.