This will allow typechecking and autocompletion for events
inherited from stream.Readable and stream.Writable.
Also add missing 'ready' event and `pending` field from Node 9 and 11, respectively.
And missing 'pause' and 'resume' events on stream.Readable.