Qstore: support LIMIT and OFFSET clauses.