add --config global option. allows to set hgrc option on command line.
syntax: --config section.name=value
also add new test-globalopts to test all global options in one place.
#!/bin/shhg initmkfifo phg serve --stdio < p &P=$!(echo lock; echo addchangegroup; sleep 5) > p &Q=$!sleep 1kill -HUP $Pwaitls .hg