Issue 385 To fix revision rollback when saving a new revision the last revision is used to compare values to instead of the parent revision so it the diff that determines if an entity should be updated is correct
Issue 385 Added a function for setting update variable since this makes debugging which changed value triggered the update
Merge branch 'feature/385-revision-rollback-fix' into develop