Fixes issues with mounting subdirectories of /mnt in container.

Tested with
mkdir /mnt/data
docker run -v /mnt/data:/mnt/data  -t ubuntu:12.10 touch /mnt/data/bar

Expected /mnt/data/bar on host.
check return value of syscall.Chdir when changing working directory
make copy paste user friendly

copying only the first line killed my sources.list file
c&p improvement for 13.04

first line killed sources list
clean split between errors and output. JSON output always valid
Fix github link in docs
Merge pull request #2198 from hamo/hamo/chdir_error

check return value of syscall.Chdir when changing working directory
Merge pull request #2318 from Tranquility/master

Fix github link in docs
Merge pull request #2150 from pnasrat/fix-mnt-subdir-volumes

Fixes issues with mounting subdirectories of /mnt in container.
Merge pull request #2261 from edmund-wagner/master

make copy paste user friendly
registry: fix content-type for PushImageJSONIndex
Merge pull request #2338 from proppy/patch-1

Registry: Fix content-type for PushImageJSONIndex
fix race condition in docker build with verbose + cleanup hostIntegration debug
fix status code
Merge pull request #2341 from dotcloud/1327-race_build_verbose-fix

fix race condition in docker build with verbose + cleanup hostIntegration debug
Merge pull request #2279 from dotcloud/fix_docker_inspect

Client: improve docker inspect