[JobQueue] Added JobQueue::getAbandonedCount() and use it in showJobs.php.

Change-Id: I5d96c61165b2693589d5cf36309fdb6a8b5a137e
(cherry picked from commit bdd03c513c268257f2c1de4cf335f0640286434a)