Fixes improper database name when a '.' is included while creating a new rails
application. EG: `rails new something.awesome.com`
Conflicts:
	railties/CHANGELOG.md
Add postgresql range types support
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
reduce the number of queries on IN clauses, fix relation queries in `where`
don't need to eval everything
module_eval is not necessary here