Add parser option --legacy-plan to select legacy C plan

The default is using the Python plan. This requires changing the
configuration parameter to python_plan to make it compatible to
argparse.