Log lines now sent to api in batches of 10000, rather than 1 at a time. Lines are also commited to the db in a batch of 10000
merging in batch_logs branch
Back out change of name of Loader.do_it() allow upstream merge properly.