unix, win: Added uv_is_refd function

I'm considering making ref a property in pyuv instead of having ref/unref functions, and in order to make it consistent I'd need to make it return the current value if queried. This function adds the ability to do that.