JCR-3888 reapply fix: update the local revision within the same update; MemoryJournal now needs to set the revision of the new record when it is created and not after the update has already been done