cleanup the mapping/primary key cache code
cleanup the mapping/primary key cache code

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-object-store,realm/realm-core,realm/realm-core