Gittrac #3834:  We now make sure a job is queued before changing
its idle status and the overall idle count.  Also, we do a sanity
check to make sure that the idle count is zero when there are no
jobs in the queue.
Gittrac #3834:  Fixed comments as per code review by Jaime.
Merge branch 'V8_0-gittrac_3834-branch' into V8_0-branch