Enhanced config loader. Now also looking for config file for NODE_ENV.