Added failing test for importing an image via name instead of src
Implement importing images from an image name instead of src
Updated the port function in order to parse the new NetworkSettings Port dict (fixes #88)
Improved assertions in the port test
Shortened lines
Refactored test. It now makes 2 calls to port
Improves code style
attach() method now parses multiplexing frames

The previous version of `attach` didn't look like it was doing
anything useful, as it just yielded 4096-byte chunks of raw /attach
output, without doing any frame parsing.

Now `attach` is identical to `logs`, except that by default it
doesn't show historical output. `logs` is now a wrapper around
`attach` which sets `logs=True`, and its behaviour is unchanged.
Use relative imports
Merge pull request #142 from aanand/use-relative-imports

Use relative imports
Merge pull request #138 from aanand/container-output-without-logs

container_output() method for streaming the output without logs=1
Default to /tcp for port definitions in create_container()

Fixes #141.

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge pull request #143 from mpetazzoni/tcp-default-proto

Default to /tcp for port definitions in create_container()
Merge pull request #119 from ureyes84/master

Updated port function
Merge branch 'feature/image-import' of github.com:tarnfeld/docker-py into tarnfeld-feature/image-import
Removed data argument in import_image (unused?)
Merge branch 'master' of git://github.com/dotcloud/docker-py
Port conflicts fixed