Add support for `SALT_CONFIG_DIR` `env` variable. Fixes #2399.
Allow the use of `SALT_CONFIG_DIR` through API access. Refs #2399.
Make sure we have a config dir setting.
Merge pull request #8607 from s0undt3ch/issues/2399-env-config-dir

Support SALT_CONFIG_DIR