Crude implementation of Unicode console support for Windows.

Signed-off-by: Peter Atashian <retep998@gmail.com>
Moved implementation of WindowsTTY to separate file.
Also did some changes based on comments to earlier commit.

Signed-off-by: Peter Atashian <retep998@gmail.com>
Added win32 console mode handling.
Also some more cleanup.

Signed-off-by: Peter Atashian <retep998@gmail.com>
Update libuv submodule

Signed-off-by: Peter Atashian <retep998@gmail.com>
TODO -> FIXME

Signed-off-by: Peter Atashian <retep998@gmail.com>
auto merge of #15051 : retep998/rust/master, r=alexcrichton

This implementation does have the minor issue of not handling things correctly when a codepoint is split across multiple writes or reads, but its better than not having unicode support at all.

Adds a Windows specific struct `WindowsTTY` in `libnative` and make `tty_open` create that struct on Windows. Adds needed functions and constants to `c_win32.rs`. Also updates the libuv submodule.

This will fix #15028 for libnative.

![](http://puu.sh/9BO4c.png)