Fix --list-tests.
Reorganise and expand --help output.
Add man page.