Task #38086: Enhance TYPO3 bootstrap mechanism
Split t3lib/config_default.php code into functions
Step to a cleaner bootstrap in config_default.php: Split the
code segments into functions and call them. Do not worry about lots
of global functions, they will be moved to the bootstrap classes
with the next patches.