Add '--configtest' parameter to ConfiguredCommand

The optional `--configtest` (or `-T`) command line argument runs the command until the configuration file has been parsed and validated and quits the command after that.

This is useful for could be useful in init scripts or whenever a new configuration file should be validated without restarting.