added lock to ControlledWorker for the done attribute.
Added “locked” class. The WorkerQueue now uses a “locked” instance for thread-safe state-change.
Renamed WorkerQueue to ThreadedWorkerQueue.
Updated docstrings of ThreadedWorkerQueue.
Added WorkerQueue class. ThreadedWorkerQueue now inherits from WorkerQueue.