tty: implement a binary I/O terminal mode in uv_tty_set_mode

Introduce a uv_tty_mode_t enum for uv_tty_set_mode(), with backward compatible
values. Add a new mode UV_TTY_MODE_IO, which uses cfmakeraw() internally.