update the object state when calling PreUpdateEventArgs::setNewValue()

related to http://www.doctrine-project.org/jira/browse/DDC-3248 (guess ORM would then also need to be updated). or maybe it should only be done in specialized classes.
`ClassUtils::getClass($object)` is not needed: the `ClassMetadataFactory` handles it already internally in a more efficient and BC way.