Rewritten Level 2 caching, allowing full control over which classes are cached
and which fields of which classes are cached. Fixed bugs relating to deleted objects
previously being cached, and caching of SCO fields