Upgrade to libuv trunk

Hi,

I did some quick fixes to make it compile against the newest libuv.

Regards Troels