Add "query" methods to worker pool, to check state of pool

This adds some "query" methods to the worker pool. This allows
querying the state of the worker pool and making decisions based
on it. This is being added for `Qs`, so it can detect if a
worker is available before it pools the redis queue.