Add Rails::Application#config_for

This is a convenience for loading configuration for the current Rails
environment.
Merge pull request #16129 from rafaelfranca/config_for

Add Rails::Application#config_for