new test program for just write to stdout
fix bugs in stdio

T/console_io now works as expected...
unless you pipe the input in, in which case it doesn't work
still... closest it's been to fully functional since switching to libuv!
also remove two now unused functions