This change allows TYPO3 to detect and trigger a deprecation of
the Cache Manager and database connection not only during loading of
ext_localconf.php, but as well during building of TCA and
loading of ext_tables.php.
Code executed in these places has two purposes:
1. Provide/ adapt configuration
2. Register extension APIs (icons, modules, etc.)
Both purposes will eventually migrated to DI configuration, which currently
already is executed in a "stateless" environment.
To prepare extension authors that this change will happen, before we will be able
to migrate all current use cases to be registered in DI configuration,
usage of DB connection and cache manager is deprecated at these early
boot extension points.