docker: implemented container.stop method.

related to #480.
docker: stop a container before remove.

closes #480.