Add an extension hook to the getIsModifiedOnStage method
Merge branch 'guywatson-patch-1' into 3.1