Added env var checking to all config get methods.

The new method replaces the manual env var parsing with simply setting
the config's value to the env var value. This lets the normal parsing
methods do the work later, to avoid duplication of effort.