[TASK] Fix usage of functions, which are deprecated in PHP 5.5

Fixes a call to preg_replace with /e modifier,
which is deprecated in PHP 5.5 now.

Resolves: #49300
Releases: 6.2, 6.1
Change-Id: I6bd4b57d64801be912e0050772420a684b1aa237
Reviewed-on: https://review.typo3.org/21556
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[TASK] Cleanup entry classes in typo3/ part2

Cleanup the entry classes inside typo3/ with the following
changes:

* Move language include to constructor
* Remove not needed doc-comments
* Make class available in $GLOBALS['SOBE']

Change-Id: Ie5bcf1f6f09a070a946a021d41d4809567ff6229
Resolves: #49454
Releases: 6.2
Reviewed-on: https://review.typo3.org/21669
Reviewed-by: Alexander Opitz
Reviewed-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind