Add a function to convert flags parameters.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add ability to specify spaces in flag parameters.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Make !flags accept character strings.

These character strings can specify the mask in a more mnemonic form, such
as "!a0" for the default flags.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>