Tidy

* removed unused code
* removed trailing whitespace
* updated pull-stream dev dependency
* cleaned out console.logs from tests