Fix the "Erroneous data format for unserializing" error message
Use existing ReflectionClass for ClassMetadata new instance creation
Merge pull request #893