add more isreadable/iswriteable/isreadonly functions

We already export these functions, this just adds definitions for more stream types.

(It would be nice to add them for `File` objects too, but that seems like it requires one to modify libuv to add a new function that calls `fcntl(fd,  F_GETFL)` or the Windows equivalent thereof.)