provision/docker: refactor dockerProvisioner.CollectStatus

First check for containers in the database, then run inspect on each.
That means less queries, and less commands :-)
provision/docker: fix deadlock in CollectStatus