add `gaffer logs` command

Add a command to display logs remtely. While I'm here fix a race conditions in
websockets. Also fix output when no color is selected