more helpful error messages in ccall and cglobal
cleanup UV objects, especially status codes. fixes #1923. fixes #3676
on uv close, notify all waiting tasks