load config before executing --stop or --status

pidfile might not be in default place.
fix warnings
use same arg parser in libres3_{ocsigen,setup,report}
more warning fixes