pg.c: Add --help and --version

In main(), check for long options --help and --verbose.

Signed-off-by: Jari Aalto <jari.aalto@cante.net>