Since docker is using multiple driver extend its attach support.

Add support for attaching processes to a container driven by libcontainer.
lxc is still supported.