Expose a function to read environment.

When using something like [component](https://github.com/stuartsierra/component), it can be nice to have control over when I read the environment, especially in development. Adding a function exposing this functionality seemed innocuous - what do you think?