Add some terminal handling for Windows
Add some terminal handling for Windows

Adds some basic terminal handling for windows.  Adapted from
golang.org/x/crypto/ssh/terminal.  Most importantly Isatty works
as intended now.

apcera/util