provision/docker: implement version support in container.deploy

We still need to solve the version stuff when adding new units, both in
Juju and Docker.

Related to #458.