Fix up configuration file / flags.

Flags are now defined as separate types which define bi-directional
to/from str methods.  This makes things like starting workers a
bit easier.

Use ConfigParser (ini files).