Add db-level functionality for collector, job and worker
Immediately dispatch jobs when collectors or workers report about the current job
Have the worker report state less frequently, avoiding race conditions on the state accounting on the broker
Immediately dispatch a new job to a worker that reports about a job
Fix typo
Also report the duration it took to do this kind of querying