This commit fixes issue #8628

Allow environment name to start with a substring of the default
environment names.
For example: tes, pro, prod, dev, devel, etc.

Fixing identation.

Adding test for Rails::Console.parse_arguments method.

Fix issue 8628 for Rails::DBConsole.
Remove unnecessary `ERB::Util::h`

It is automatically applied when strings is unsafe for html.
Merge pull request #8750 from tricknotes/remove-unnecessary-h

Remove unnecessary `ERB::Util::h`
Allow use of durations for ActionDispatch::SSL configuration
Better error message for String#to_date

I did this because to_date gives a very unhelpful error message if you
do not pass in a correct date. In the process I think this cleans up the
 code nicely and even better it tends to be slightly faster than the
 current implementation.

Benchmark
https://gist.github.com/4440875
get rid of unused .empty_directory files in the app generator
Merge pull request #8754 from amatsuda/app_generator_unused_empty_directories

get rid of unused .empty_directory files in the app generator
misleading error message that prompts non-existing command

[ci skip]
Merge pull request #8758 from amatsuda/plugin_new_error_message

Misleading error message that prompts non-existing command [ci skip]
fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057
Support for PostgreSQL's ltree data type.
Merge pull request #8755 from robworley/postgresql-ltree-data-type

Support for PostgreSQL's ltree datatype
Merge pull request #8722 from kwstannard/string_to_date_change

Better error message for String#to_date
Merge pull request #8760 from amatsuda/railties_failing_tests_fix

fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057
Merge pull request #8633 from mykola-kyryk/issue_8628

Allow environment name to start with a substring of the default
environment names.

Fixes #8628
Small typo fix in railties/CHANGELOG.md
Merge pull request #8761 from mattdbridges/patch-3

Small typo fix in railties/CHANGELOG.md
added marshal_load and marshal_dump for ProxyTestResult. Behavior of method_missing with Marshal.dump and Marshal.load is changing in ruby 2.0.0 later.
Merge pull request #8762 from hsbt/fix-marshal_load

added marshal_load and marshal_dump for ProxyTestResult. Behavior of met...
Move changelog entry in railties to the top

Other minor changelog improvements [ci skip]