Make the environment accessible through getconfig

Just a convenience thing to prevent modules from having to look up their current environment when getconfig has already done it, instead of

```js
var env = process.env.NODE_ENV || 'dev';
```

modules can simply refer to config.getconfig.env