Add Bash completion for the docker command

The bash completion script allow autocompletion of command, images
running containers and even allows searching the remote image catalog.

This resolves #638 and is related to #336.