Task #38086: Enhance TYPO3 bootstrap mechanism
Load the main configuration file in functional context
Until now the localconf.php file is included in a global scope.
This is a major blocker for a clean and flexible bootstrapping.
Include the main configuration file in a method of the bootstrap class and set all supported global variables as global.