Throw on invalid JSON input to http/stdio server

Include offending line in the error message

Close #46
Refactor FilteredStream to be a readable-stream.Transform

Accept npm's format for package.json so --save is less disruptive in the future.
Emit console event payloads as strings, not buffers