update packages json to use memwatch to trace memory leaks
Simplified stream implementation and cleanups
stream.fromEvent renamed and reimplemented to fromEmitter