[BUGFIX] Make DI work with Doctrine using newInstanceWithoutConstructor()
This change does two things:
- make sure Doctrine uses the Flow ClassReflection even after
wakeupReflection() has been called
- override newInstanceWithoutConstructor() in ClassReflection to call
__wakeup(), so DI works.
This fixes an issue with a workaround in Doctrine that broke DI on PHP
5.4.29, 5.5.13 as well as 5.6.x.
Releases: master, 2.2, 2.1