add libfriendly demo library
minor cleanups in libuv/pthread
add missing libuv/stdio/stdio.c!