Add output handler to print list of strings

Necessary for print_biom_python_config.py.

Also fix optparse code to allow for commands that have no required options.