[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 https://github.com/composer/composer/issues/1603

Comments more than welcome!