Added support to the latest libuv

Updated the bindings to the latest libuv. Some improvements and fixes
along the way.