use this horrible complex bit of shell to make sure that curl doesn't hand the poor user a broken docker client

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
mention the tgz - other people might like to know

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
OSX mktemp is different - hopfully this will now work on HP/UX >:}

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Move history to separate file
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
Merge pull request #4764 from SvenDowideit/use-docker-tgz

Use docker tgz file to download on OSX
Clean runtime create and make it simple
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
Merge pull request #5057 from crosbymichael/refactor-runtime-create

Refactor runtime create and history
Convert a legacy integration test to a clean v2 CLI integration test.

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Merge pull request #5010 from shykes/cli-tests

Convert a legacy integration test to a clean v2 CLI integration test.