Fixup flag parser prep for phases - actually add option groups.
Fixup flag parser prep for phases - actually add option groups.

Testing Done:
Now real help:
==
$ PANTS_DEV=1 ./pants goal resolve -h
*** Running pants in dev mode from /home/jsirois/dev/3rdparty/jsirois-pants/src/python/pants/bin/pants_exe.py ***

resolve: Resolve dependencies and produce dependency reports.

resolve options:
  --ng-daemons, --no-ng-daemons
                          [True] Use nailgun daemons to execute java tasks.

gen:thrift options:
  --gen-thrift-version=THRIFT_VERSION
                          Thrift compiler version.
  --gen-thrift-lang=THRIFT_GEN_LANGS
                          Force generation of thrift code for these languages.

...
ivy options:
  --ivy-override=IVY_RESOLVE_OVERRIDES
                          Specifies a jar dependency override in the form:
                          [org]#[name]=(revision|url)
                          For example, to specify 2 overrides:
                          --ivy-override=com.foo#bar=0.1.2 \
                          --ivy-override=com.baz#spam=file:///tmp/spam.jar
  --ivy-report, --no-ivy-report
                          [False] Generate an ivy resolve html report
  --ivy-open, --no-ivy-open
                          [False] Attempt to open the generated ivy resolve
                          report in a browser (implies --ivy-report).
  --ivy-outdir=IVY_RESOLVE_OUTDIR
                          Emit ivy report outputs in to this directory.
  --ivy-args=IVY_ARGS     Pass these extra args to ivy.
  --ivy-mutable-pattern=IVY_MUTABLE_PATTERN
                          If specified, all artifact revisions matching this
                          pattern will be treated as mutable unless a matching
                          artifact explicitly marks mutable as False.

Bugs closed: 479

Reviewed at https://rbcommons.com/s/twitter/r/877/

mateor/pants,UnrememberMe/pants,lahosken/pants,pgroudas/pants,di0spyr0s/pants,mateor/pants,dgomez10/xanon,mateor/pants,dbentley/pants,kslundberg/pants,ericzundel/pants,Gabriel439/pants,ity/pants,dbentley/pants,landism/pants,gmalmquist/pants,gmalmquist/pants,slyphon/pants,dturner-tw/pants,dgomez10/xanon,kwlzn/pants,fkorotkov/pants,foursquare/pants,pantsbuild/pants,wisechengyi/pants,kwlzn/pants,areitz/pants,scode/pants,pombredanne/pants,wisechengyi/pants,dbentley/pants,tdyas/pants,UnrememberMe/pants,qma/pants,cevaris/pants,mateor/pants,benjyw/pants,ity/pants,pombredanne/pants,digwanderlust/pants,ericzundel/pants,gmalmquist/pants,manasapte/pants,TansyArron/pants,pombredanne/pants,megaserg/pants,fkorotkov/pants,UnrememberMe/pants,foursquare/pants,landism/pants,sid-kap/pants,dgomez10/xanon,square/pants,qma/pants,wisechengyi/pants,dturner-tw/pants,sid-kap/pants,lahosken/pants,jtrobec/pants,UnrememberMe/pants,di0spyr0s/pants,jtrobec/pants,pombredanne/pants,TansyArron/pants,slyphon/pants,Gabriel439/pants,lahosken/pants,tdyas/pants,dturner-tw/pants,Gabriel439/pants,sameerparekh/pants,TansyArron/pants,tdyas/pants,megaserg/pants,sameerparekh/pants,benjyw/pants,dgomez10/xanon,dgomez10/xanon,TansyArron/pants,dgomez10/xanon,ity/pants,jsirois/pants,square/pants,kslundberg/pants,cevaris/pants,kslundberg/pants,manasapte/pants,landism/pants,wisechengyi/pants,jessrosenfield/pants,sameerparekh/pants,fkorotkov/pants,areitz/pants,manasapte/pants,ericzundel/pants,peiyuwang/pants,digwanderlust/pants,dbentley/pants,15Dkatz/pants,pombredanne/pants,laurentgo/pants,di0spyr0s/pants,laurentgo/pants,di0spyr0s/pants,megaserg/pants,foursquare/pants,slyphon/pants,baroquebobcat/pants,UnrememberMe/pants,lahosken/pants,slyphon/pants,jessrosenfield/pants,jessrosenfield/pants,dgomez10/xanon,kwlzn/pants,15Dkatz/pants,lahosken/pants,Gabriel439/pants,dbentley/pants,foursquare/pants,15Dkatz/pants,sid-kap/pants,baroquebobcat/pants,manasapte/pants,ericzundel/pants,tdyas/pants,tejal29/pants,UnrememberMe/pants,areitz/pants,sid-kap/pants,jtrobec/pants,areitz/pants,dturner-tw/pants,15Dkatz/pants,landism/pants,laurentgo/pants,landism/pants,Gabriel439/pants,manasapte/pants,ericzundel/pants,scode/pants,gmalmquist/pants,dgomez10/xanon,Gabriel439/pants,peiyuwang/pants,cevaris/pants,kwlzn/pants,sameerparekh/pants,tdyas/pants,TansyArron/pants,ity/pants,gmalmquist/pants,jsirois/pants,twitter/pants,benjyw/pants,manasapte/pants,ity/pants,di0spyr0s/pants,qma/pants,slyphon/pants,15Dkatz/pants,sid-kap/pants,qma/pants,twitter/pants,foursquare/pants,areitz/pants,ericzundel/pants,baroquebobcat/pants,foursquare/pants,twitter/pants,baroquebobcat/pants,tejal29/pants,megaserg/pants,sid-kap/pants,UnrememberMe/pants,foursquare/pants,dbentley/pants,pombredanne/pants,wisechengyi/pants,benjyw/pants,mateor/pants,ity/pants,pgroudas/pants,fkorotkov/pants,dgomez10/xanon,kslundberg/pants,pantsbuild/pants,pgroudas/pants,twitter/pants,jessrosenfield/pants,tdyas/pants,qma/pants,areitz/pants,tdyas/pants,scode/pants,scode/pants,slyphon/pants,kslundberg/pants,baroquebobcat/pants,jessrosenfield/pants,baroquebobcat/pants,lahosken/pants,twitter/pants,jessrosenfield/pants,twitter/pants,di0spyr0s/pants,mateor/pants,fkorotkov/pants,square/pants,tejal29/pants,Gabriel439/pants,UnrememberMe/pants,tejal29/pants,sid-kap/pants,dgomez10/xanon,pantsbuild/pants,digwanderlust/pants,15Dkatz/pants,peiyuwang/pants,TansyArron/pants,twitter/pants,kslundberg/pants,di0spyr0s/pants,jtrobec/pants,megaserg/pants,kslundberg/pants,jsirois/pants,baroquebobcat/pants,15Dkatz/pants,pombredanne/pants,dbentley/pants,laurentgo/pants,scode/pants,landism/pants,tdyas/pants,jtrobec/pants,twitter/pants,cevaris/pants,megaserg/pants,lahosken/pants,laurentgo/pants,TansyArron/pants,ericzundel/pants,wisechengyi/pants,dgomez10/xanon,kwlzn/pants,pantsbuild/pants,twitter/pants,UnrememberMe/pants,wisechengyi/pants,gmalmquist/pants,dturner-tw/pants,digwanderlust/pants,digwanderlust/pants,fkorotkov/pants,fkorotkov/pants,wisechengyi/pants,digwanderlust/pants,sameerparekh/pants,dturner-tw/pants,fkorotkov/pants,peiyuwang/pants,areitz/pants,manasapte/pants,jtrobec/pants,pgroudas/pants,kwlzn/pants,tdyas/pants,pantsbuild/pants,tejal29/pants,scode/pants,gmalmquist/pants,wisechengyi/pants,megaserg/pants,landism/pants,scode/pants,pgroudas/pants,mateor/pants,pantsbuild/pants,benjyw/pants,peiyuwang/pants,benjyw/pants,cevaris/pants,foursquare/pants,jessrosenfield/pants,dturner-tw/pants,slyphon/pants,cevaris/pants,benjyw/pants,cevaris/pants,peiyuwang/pants,qma/pants,jtrobec/pants,laurentgo/pants,mateor/pants,baroquebobcat/pants,pantsbuild/pants,pgroudas/pants,landism/pants,sameerparekh/pants,ity/pants,peiyuwang/pants,sameerparekh/pants,qma/pants,baroquebobcat/pants,15Dkatz/pants,square/pants,ericzundel/pants,lahosken/pants,foursquare/pants,kwlzn/pants,peiyuwang/pants