query cache and related session methods
Merge remote-tracking branch 'origin/feature/offline' into feature/query-cache
misc tweaks: remove serialization guards; fix indentation; fix sporadic test failure
query cache serialization
fix id manager serialization