[WIP] libuv isatty

Using ```uv_guess_handle``` for portable ```isatty```-like functionality.
I'm not sure that ```os/input.h``` is the best place for ```os_isatty```. Maybe someone knows the better.