Add clear queue maintenance script

In the worst case queue bomb; allow an admin to clear the queue and
set all pending jobs to 'failed'.

Change-Id: I66c43e06ffbbc496fe91c1cb90e208bd96cc2992