Make simulate static a system extension
The simulate static feature is not used all the time and therefore shouldn't be in the core itself. This way we can keep our core classes smaller and have optional features as - yeah - optional packages. Therefore I created an extension "simulatestatic".
- I extracted all the necessary parts and also added a new hook in class.tslib_fe.php. In all the other cases I made use of existing functionalities and hooks.
- I created an updater class that installs "simulatestatic" if it's not installed yet (and realurl or cooluri aren't installed either).
- I rewrote some configuration options to have a better structure (config.simulateStaticDocuments.paramEncoding instead of config.simulateStaticDocuments_pEnc etc) the old ones are still usable of course until TYPO3 4.5.
- I added a manual with the configuration options
Once this is in, we also need to update the core documentation, that the old variables are now deprecated and the sysext "simulatestatic" should be used.
(issue imported from #M9094)