Implement a binary I/O terminal mode in uv_tty_set_mode

- Introduce a uv_tty_mode_t enum with backward compatible values.
- New mode 2 (UV_TTY_MODE_IO), which uses cfmakeraw().
Add a C++ stub for the old uv_tty_set_mode signature.