docker save: Do not save to a terminal.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
install.sh: Fix for Amazon's Linux AMI

Use /etc/os-release to determine distro

Contents of /etc/os-release on Amazon Linux AMI 2014.09:
NAME="Amazon Linux AMI"
VERSION="2014.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2014.09"
PRETTY_NAME="Amazon Linux AMI 2014.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2014.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

Signed-off-by: Amit Bakshi <ambakshi@gmail.com>
Signed-off-by: Jessica Frazelle <jess@docker.com>
check ID in os-release instead

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
save start error into State.Error

when a container failed to start, saves the error message into State.Error so
that it can be retrieved when calling `docker inspect` instead of having to
look at the log

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)
Use code generation to set IAMSTATIC instead of -X

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
use code generation for GITCOMMIT/VERSION too

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
finally, use code generation for INITSHA1 & INITPATH too

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
builder: some small fixups + fix a bug where empty entrypoints would not override inheritance.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Bump API to v1.16.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Client should use go log package.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #8315 from dqminh/save-start-error

Save start error into State.Error when the container fails to start
Merge pull request #8760 from jfrazelle/8745-output-log

Client should use go log package.
Merge pull request #8746 from aluzzardi/bump-api-v1.16

Bump API to v1.16.
Merge pull request #8325 from mwhudson/do-not-use-X

Stop using -X flag to set global variables
Merge pull request #8744 from erikh/empty_entrypoint_inheritance

builder: some small fixups + fix a bug where empty entrypoints would not override inheritance.
Merge pull request #8321 from erikh/ui_save_output

docker save: Do not save to a terminal.
Merge pull request #8643 from jfrazelle/fix-amazon-linux-dist

Fix amazon linux dist