Improve whitespace handling and add collapse.
Support command summary.

This completes the help2man integration by adding a command summary when
commands are present (so man page subsection headers are rendered
correctly), if the program does not have commands only the options
section is rendered, closes #49.