Fix ClassMetadataInfo::invokeLifecycleCallbacks() to use instanceof instead of an exact check.
Merge pull request #770 from doctrine/fix/invoke-lifecycle-callbacks-check

Fix ClassMetadataInfo::invokeLifecycleCallbacks() to use instanceof inst...