[WIP] Config option to set the default style of handling dirty updates

First draft of implementation. Need to add some tests and test it intensively with some more local installations.

Implements #1603

Comments more than welcome!