[BUGFIX] Generation of class information fails with DateTime

If using the class info factory to create a class information
for DateTime an Exception occurs as the reflection api handles
DateTime wrong when reolving constructor arguments. Therefore a
custom class info has to be created.

Releases: 6.2
Resolves: #49307
Change-Id: Ia463776ff992eb0c91bca84710f934ee282355e5
Reviewed-on: https://review.typo3.org/21557
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring