provision/docker: added function to get the container from the database

Related to #422.
provision/docker: implement DockerProvisioner.CollectStatus

Closes #422.
provision/docker: refactor CollectStatus

Related to #422.