Add test for exec tty stdin close

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Forbid client piping to tty enabled container

Forbid `docker run -t` with a redirected stdin (such as `echo test |
docker run -ti busybox cat`). Forbid `docker exec -t` with a redirected
stdin. Forbid `docker attach` with a redirect stdin toward a tty enabled
container.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Merge pull request #9537 from icecrime/9476-tty_stdin_redirect

Forbid client piping to tty enabled container