assure the global environment makes it into the config parser environment always

closes #567
Merge pull request #567 from apmorton/issues/567/copy-env

environment substitutions and copy_env