Source.File: Change connected state before emitting

Tiny tweak to fix some test cases.  Need to know that we're connected so that
if we call disconnect after getting the connect event, we won't get there
before the source manages to set the flag one line later.
Remove several `console.log` statements

* Remove extra whitespace in the RewindBuffer file
* Remove extra `console.log` statements