Fix nxp 12267 bj add send event on proxy modification

Fix for https://jira.nuxeo.com/browse/NXP-12267.


* I try to send also Checkout (aboutToCheckout, documentCheckedOut) and Checkin (idem) on saveDocument call but there was too many tests in error, I let Florent to play with that if this is required.
* I changed the testDoNotFireBeforeUpdateEventsOnVersion :)
* I had random bug on testRestartWorkflowOperation(org.nuxeo.ecm.platform.routing.test.GraphRouteTest): expected:<1> but was:<0> but I don't think it's relevant from the modification.