eventmonitor: update the extraction of jobinfo.

The disco master now sends the number of pending tasks to the client. The client
has been updated to take this into account.