BitFlag - adding a couple of useful functions.

removeAllFlags clears up the flags without having to use removeFlag or
removeFlags and listing all of our flags being used.
setFlags would help in recovering to a certain state of flags.