Fix terminal handling on Windows

The termios library does not work on Windows. Add a wrapper API to fix
compilation.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Merge pull request #34 from penberg/windows

Fix terminal handling on Windows