add query_in_batches

This implements the `query_in_batches` feature discussed in https://github.com/ruckus/quickbooks-ruby/issues/131.