KVRecordStore: fixed compile
KVRecordStore: added support for non-doclocking engines to not use id tracker