initial steps with new config value, implementation of discard changes for git and svn
check first if there are changes
remove unnecessary else
Merge remote-tracking branch 'ricardclau/dirty-updates'
Code reorgs and make bool values real booleans, refs #1637