cli: Added a workaround for running flynn-cli on Windows using MSYS
Signed-off-by: Piotr Zduniak <piotr@zduniak.net>
Merge pull request #155 from pzduniak/master

cli: Changed home directory finding function to fix paths on MSYS/Cygwin.
controller: Close attach conn when client disconnects

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
controller: Send exit event in log tail SSE stream

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>