Fix several annoyances

Fix docker ps empty output.
Fix ability to join network using container short ID.
Fix crash when joining non-existing network.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Merge pull request #126 from icecrime/extensions

Fix several annoyances