[WIP] os_nodetype: impl with libuv

step towards #133
Leaving this here from legacy Vim just in case.