event_server: add a function for getting the pid of the job_event_handler.

This handle can be used to directly query the job_event_handler (without going
through the event_server).