don't commit local store transaction when doing complex queries that are not part of a transaction
annotate which queries can run in local store transactions and which can't
(specifically get_key_count seems to have issues)
add flush_store client call
Merge pull request #333 from Incubaid/batched-store-optimize-range-queries

Batched store optimize range queries