Added error callback handler should an error occur before the stream is initiated.
Fixing a bunch of bugs related to collection streaming and realtime streaming. All tests are now passing for node and browser. Added Circle CI for automated testing.