clean split between errors and output. JSON output always valid
fix status code
Merge pull request #2279 from dotcloud/fix_docker_inspect

Client: improve docker inspect