improve attach
Merge branch 'master' into split_stdout_stderr_run-feature
split stdout and stderr in run if not -t
Merge pull request #741 from dotcloud/split_stdout_stderr_run-feature

* API: Split stdout stderr in docker run if no -t