psql: More tests
Add some basic tests for command-line option handling and help output,
similar to what we have for other command-line programs. This also
creates a place to put some more one-off test cases later.
Discussion: https://www.postgresql.org/message-id/
2570e2ae-fa0f-aac9-f72f-
bb59a9983a20@enterprisedb.com