add read_environment function again, but no oldstyle support and as part
of tools.utilities
fix typo
Merge pull request #571 from stdweird/config_reintroduce_read_enviornment

add read_environment function again, but no oldstyle support and as part