libjob_queue: Changed from doing cleanup of the queue after each call of...

... job_queue_run_jobs, to doing cleanup before calling job_queue_run_jobs or job_queue_add_job. Methods will fail hard if called when cleanup has not been done. This has been done so that the queue can be queried after method job_queue_run_jobs has finished