Improve configuration handling

Use ARGENT_CLI_DIR environment variable to signal where the
configuration files for argent-cli are.

Use --configpath cli option for absolute path to configuration
file.

Improve readability of configuration handling code.