Fixes improper database name when a '.' is included while creating a new rails
application. EG: `rails new something.awesome.com`
Conflicts:
	railties/CHANGELOG.md
Adding the route_key and param_key tests

This way all the tests are testing the same fields
Merge pull request #9035 from adomokos/aligning_tests

Adding the route_key and param_key tests
Add postgresql range types support
Remove warning by using a custom coder

The native JSON library bypasses the `to_json` overrides in
active_support/core_ext/object/to_json.rb by calling its native
implementation directly. However `ActiveRecord::Store` uses a
HWIA so `JSON.dump` will call our `to_json` instead with a
`State` object for options rather than a `Hash`. This generates
a warning when the `:encoding`, `:only` & `:except` keys are
accessed in `Hash#as_json` because the `State` object delegates
unknown keys to `instance_variable_get` in its `:[]` method.

Workaround this warning in the test by using a custom coder that
calls `ActiveSupport::JSON.encode` directly.
Merge pull request #7345 from slbug/master

Postgresql range support
ActionDispatch::Http::UploadedFile is a permitted scalar [Closes #9051]
Fix PostgreSQL tests on Travis

Travis only has PostgreSQL 9.1.x but 9.2 is required for range datatypes.
Depend on thor >= 0.17.0
Unused model DeprecatedPostWithComment
proxy_{owner,reflection,target} are no more available
Goodbye there, very special rubbish!
Unused test model
Set Thread.abort_on_exception for the whole AS, AP, and AR tests

this would give us some more clues in case a test silently dies inside Thread
Unused methods, module, etc.
Revert "Unused methods, module, etc."

This reverts commit 4e05bfb8e254c3360a3ca4a6cb332995314338fe.

Reason: BlankTopic#blank? should not be removed to check that dynamic finder with a bang can find a model that responds to `blank?`
Describing the reason for defining BlankTopic#blank? which will never be called
Default dead_connection_timeout to 5

or the ConnectionPool silently fails to close connections inside the Thread
Allow passing interpolations to `#default_i18n_subject`, e.g.:

    # config/locales/en.yml
    en:
      user_mailer:
        welcome:
          subject: 'Hello, %{username}'

    # app/mailers/user_mailer.rb
    class UserMailer < ActionMailer::Base
      def welcome(user)
        mail(subject: default_i18n_subject(username: user.name))
      end
    end
stop converting strings to symbols