DDC-2871 PreFlush event called multiple times in event manager.

PreFlush event called multiple times in event manager.
In this fix while computing entity changeset preFlush event will be called only in callbacks and entity listeners, not in event manager.

more discuddion here: http://www.doctrine-project.org/jira/browse/DDC-2871