Merge the 3 ptys in 1
Make sure the process start in his own session and grabs the terminal
Cleanup pty variable names
Fix run disconnect behavious in tty mode + add unit test to enforce it
Make sure to flush buffer when setting raw mode
Move the DockerConn flush to its own function
make the service example work

issue #98 requires connecting to localhost (which `hostname` may resolve to) will not work.
sync with README
Merge remote-tracking branch 'origin/pty_fix-1'
Merge pull request #346 from srid/patch-2

make the service example work
Remove the mutexes and use chan instead in order to handle the wait lock
add documentation for running a redis process with docker
Change the behaviour of CmdRun in tty mode: dont kill the process uppon detach
Update the unit test to reflect the new CmdRun behaviour in tty mode
Add inconditionnal lock in Start/Stop/Kill to avoid races
Flush whether or not there we set the rawmode to avoid the client to lock
Flush stdout on import to avoid deadklock when waiting for stdin (import -). Fixed #365
Merge remote-tracking branch 'origin/fix_flush_behaviour'
Merge pull request #363 from dhrp/docs

Added code and color for 'note' and updated the examples note.
Merge remote-tracking branch 'origin/change_run_detach_behavious_tty_mode'