Changed usage to return a namespace variable like argparse. Changed
behavior so that required options can be passed to command line. Options
read from the config file are not checked yet, so an option that has an
action store_true can be given a non-bool value via the config file.
Added type checking for store_true, store_false, anc store_const when
reading from the config file. Currently rejects None for these action
types.