container: factorize bind parsing in parseBind

This pull request depends on https://github.com/dotcloud/docker/pull/2198 since https://github.com/dotcloud/docker/pull/2198 adds my name to AUTHORS.