Add flag datatype for simple non-true/false boolean settings.

This will remove the need for translations in many cases where we want on/off to become true/false (and the like).