Upgrade libuv to 1.0.0-rc2



I just pulled latest libuv v1.x into node and these are the required fixes to make node happy again.

libuv 1.0.0-rc2 will be released soon, once it's pulled into node these fixes need to be applied.

R=@indutny, @trevnorris ?