Added capability to empty queue.

For our social app, I needed the ability to empty the queue when a user logs out of the system, or else that user's tasks would be executed as tasks belonging to the next user if those tasks were still in the queue.