Adding failing test for DDC-2359

Doctrine\ORM\Mapping\ClassMetadataFactory#wakeupReflection is called twice
Fix for DDC-2359
Merge pull request #630 from Ocramius/hotfix/DDC-2359

Hotfix for DDC-2359