allow specifying a config file on the command line
add help output
fix path resolution
Merge pull request #738 from stuartf/configopt

allow specifying a config file on the command line