Doctrine MongoDB ODM

Github-PR-151 by l3pp4rd: fixes triggering fatal error on preupdate event in case changeset is clea