Improve environment settings inspired by #1598

Add an optional `env` dir under `config`. If a config file for the current environment exists, it will be loaded and override `local.js`.

P.S.: I think `excludeDirs` option for `include-all` only accepts RegExp, `Array` doesn't work.