kvstore: factor out Transactional interface; tweak test organization
kvstore: TypedStore