clearing autoloaded constants triggers routes reloading [Fixes #10685]

Conflicts:
	railties/test/application/loading_test.rb
registers recent patch in the railties CHANGELOG