Add Stream base class...

...and make streams inherit from Stream instead of EventEmitter.  This change will be helpful for typing other libraries that inherit from Stream.