windows, unix: getnameinfo implementation for #852

Address to name translation using getnameinfo. The implementation adds
new public function uv_getnameinfo with support for IPv4 and IPv6.
Two basic tests are provided in test-getnameinfo for IPv4 and IPv6.