[TASK]  Fixes to use smoothmigration with both LTS Versions

Hi, this version is compatible with TYPO3 6.2 and 4.5
This is a nice way to fix certain issues (e.g. that _CACHEFILE can be part of the GLOBALS['TYPO3_LOADED_EXT']-Array in 4.5).
I suggest merging this.