Fixed return type for luv_is_active and luv_has_ref

This makes more sense on the Lua side and matches the behavior of `luv_is_closing`.