Merge pull request #8959 from vitorbaptista/master

Don't rely on Hash key's ordering to configure default options
replace regexp global in #url_for
document Intercepters in ActionMailer guide
Fixes improper database name when a '.' is included while creating a new rails
application. EG: `rails new something.awesome.com`
Conflicts:
	railties/CHANGELOG.md
Fix date_select :selected option so you can pass it nil
Merge pull request #8965 from colinbm/date_select_value

Fix date_select :selected option so you can pass it nil
Merge pull request #8967 from senny/add_interceptor_to_am_doc

document Intercepters in ActionMailer guide
clear specific logs when using rake log:clear
Merge pull request #8964 from mattdbridges/specify-log-to-clear

Clear specific logs when using `rake log:clear`
Deprecate direct calls to AC::RecordIdentifier.dom_id and dom_class

Also add some generic tests to ensure they're properly deprecated.
clarify awkward sentence re: email testing
fix example of setting DEFAULTS in fixtures
Removing : warning: ambiguous first argument;
Merge pull request #8975 from arunagw/warning_removed_ambiguous_first_argument

Removing : warning: ambiguous first argument;
Remove useless || operation
spelling correction for AM interceptors
Merge pull request #8976 from senny/spelling_correction

spelling correction for Action Mailer interceptors
Fix ActionDispatch::Request#formats when HTTP_ACCEPT header is empty string
Remove i18n symbol dependency

date.order is the only key in rails i18n that is required to be a
symbol. This patch allows for symbols or strings which means:

* No requirement for symbol type in .yml files. A future
  YAML.safe_load wouldn't need to load symbols
* Rails could actually use json rather than yml as the backend
Don't change the original i18n data