Remove all the deprecated calls to Object::set_static(), Object::uninherited() etc which are deprecated.
Replace entirely with the Config system instead. This seems to improve performance somewhat, as Deprecation::notice() called on the deprecated functions would call version_compare() a lot.
Especially important was a call to Object::set_uninherited() which didn't do anything, but it relied on setting permissionCache. This also fixes that, so the cache is actually used now.
Remove ObjectStaticTest and merge into ConfigTest.
BUGFIX Removing use of deprecated Object static functions like
get_static(), set_static(), uninherited() etc. Replace with equivalent
Config system get(), update()
MINOR Tidy up of code formatting in TestRunner
MINOR Fixing up old ObjectStaticTest and merging into ConfigTest
BUGFIX Fixed places where Object::get_static() was being used. Replace
with Config system instead.