added --allow-dirty option

Added an --allow-dirty option. I find this useful for large projects in which I might want to bump multiple version files with different versions. It would seem excessive to commit multiple one line changes separately so I have used this option to get around that.