[WIP] os_nodetype: impl with libuv

step towards #133
This was in `vim.h` in upstream Vim. It applies to unix _and_ windows.