[JobQueue] Added JobQueue::getAllQueuedJobs() function.