Fix for WorkQueueFrontier.deleteURIs mishandles deletions from retired
queues (HER-2062)
Minor tidying up
Merge pull request #29 from kris-sigur/HER-2062

HER-2062 Fix for WorkQueueFrontier.deleteURIs handling of retired queues