Integrated with bigquery.
First cut of the BigQuery service.
more work on bq service
added error handling, almost complete
Added highwatermark, documentation and better error handling around 4xx errors
Fixed error handling around insertAll operation.
Tested and resolved issues with error handling around oauth expiry. Added 'done' event on bq to track pushed buckets.
In the particular case of a 401 being returned from BQ, clear the auth to force a re-auth.
Replaced Superagent with Request, Added proper exception class, reorg files into proper module.
Fixed bug in request post to insertAll and improved data transfer by moving buffers. Still short of perfect without using a streaming interface.
Data is streamed between buckets and the http request to reduce memory pressure.
insertId uses a timestamp and a random component to avoid collisions
defined the analytics route.
cleaned return test on _canAcceptData.
Fixed merge conflict
Merge branch 'bigquery'