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.
Merge pull request #544 from pooya/develop

eventmonitor: update the extraction of jobinfo.