#26514Add possibility to include files for the global variable scope
Description
Since many global statements have been cleaned-up for TYPO3 4.6, a generic way to include files is required by respecting the possible global context.
The new functionality shall behave similar to t3lib_div::requireOnce().