Updated event_listener.rst

Updated event_listener.rst to use the new KernelEvent::isMasterRequest method