Fix issue when attaching stdin alone
Make DockerCli use its own stdin/out/err instead of the os.Std*
Make term function consistent with each other
Make NewDockerCli handle terminal
Implement regression test for stdin attach