Removed uv_data->polling field

It's not necessary as uv_is_active can be used to check if a handle
is started or not.
Remove uneeded check

libuv will always pass the handle to the close callback
Handle possible allocation failure
Merge pull request #20 from saghul/libuv_fixes

libuv fixes