Cleaned up return types for getAllQueuedJobs() and getAllDelayedJobs().

Change-Id: I305941c817dd13427d291b9265a71f9df9130f1c