Add functions for overriden flags.
Add functions for overriden flags.

Add the functions to override a voolean flag and also a function to
check if a given value is a valid boolean.

oddnoc/gitflow,JelteF/gitflow,yonglehou/gitflow-1,dhilgarth/gitflow