Rely on NoMethodError#name when deciding to raise DelegationError.

Different Ruby implementations present backtraces differently, as
it should be an information consumed by humans.
A better implementation should use data from the error, in this case
returned by NoMethodError#name.

Fixes issues with Rubinius, which presents backtraces differently from
MRI.
Stop interpreting SQL 'string' columns as :string type.

SQL doesn't have a string type, and interpreting 'string' as text is
contrary to at least SQLite3's behavior:

"Note that a declared type of 'STRING' has an affinity of NUMERIC, not TEXT."
http://www.sqlite.org/datatype3.html
Merge pull request #11922 from Empact/string-confusion

Stop interpreting SQL 'string' columns as :string type.
write changelog entry for #11922. [ci skip]
Fix the indentation :scissors:
Remove set_primary_key, replace with primary_key=

First deprecated, now removed: https://github.com/rails/rails/commit/9add7608f1acaa68b025470e7a38901d7e6161ca#activerecord/lib/active_record/attribute_methods/primary_key.rb
Skip few of the ActiveSupport'sinflector test on JRuby
Merge pull request #11952 from lmarcetic/master

Remove set_primary_key, replace with primary_key=
Escape the message of an exception in debug_exceptions to avoid bad rendering
Merge pull request #11961 from Intrepidd/debug-exception-html

Escape the message of an exception in debug_exceptions to avoid bad rendering
Added method to skip tests on Rubinius to AS/abstract_unit.
Skip tests involving $SAFE, it's not supported on Rubinius.
Merge pull request #11959 from razielgn/skip-global-safe-tests-on-rubinius

Skip tests involving $SAFE on Rubinius, it's not supported.
Merge pull request #11850 from razielgn/mod-delegation-backtrace

Generalize backtrace check on DelegationError.
Define jruby_skip to skip test on JRuby
Merge pull request #11932 from gaurish/skip-encoding-convertor

[JRuby] Skip few of the ActiveSupport's inflector test cases

Conflicts:
	activesupport/test/abstract_unit.rb
Updated bug report templates

* use `Minitest::Test` instead of deprectaed `MiniTest::Unit::TestCase`

 [ci skip]
Merge pull request #11966 from jetthoughts/update_bug_report_templates

Use `Minitest::Test` instead of old `MiniTest::Unit::TestCase` for bug reports template