Switch global option registration to the new options system.
Review Request #1109 - Created Oct. 2, 2014 and submitted
|patricklaw, stuhood, zundel|
Also fix a couple of small issues that arose while testing this.
Also switch the --graph option in list_goals to be read from the
new location, to verify that this all works together.
Note that add_global_options is still used when generating the
build dictionary, so we can't get rid of it yet. We'll do so
in a pending change.
Ran ci.sh. Ran manual command lines to verify that flags still work.