Merge pull request #2692 from SvenDowideit/add-specific-feedback-for-bad-ADD

Add specific feedback for ADD outside context
Merge branch 'master' into docker-osx
Closing connection after ping
Make sure the container is running before testing against it (TestAttachDetach)
Add a GetPtyMaster() method to container to retrieve the pty from an other package.

We could also have put ptyMaster public, but then we need to ignore it in json
otherwise the Marshalling fails. I think it is cleaner that way.
Make the PTY in raw mode before assert test (TestAttachDetach)
Actually test the detach (was not the case before)
Fix term.RestoreTerminal behavior
Make sure the termcaps are restored after hijack
Create helper function for tests
Fix TestAttachDetachTruncatedID (behavior + tty issue)
Remove an unit test from integrations test
Fix behavior of tty tests
Search for repo first before image id
Reduce the timeout for restart/stop
Merge branch 'master' into fix_tests
Add unit test to check bind / server side
Merge pull request #2929 from pnasrat/2928-fix-signal-handling

Remove incorrect SIGKILL handler.
Catch SIGQUIT for cleanup
Merge pull request #2952 from codeaholics/2126-registry-close-wait

Closing HTTP connection after Registry ping