fix updating of Documents with event subscribers
Merge pull request #529 from doctrine/fix_updates_with_event_subscriber

fix updating of Documents with event subscribers