determine the match shorthand target early.

Closes #7554.

This patch determines the `controller#action` directly
in the `match` method when the shorthand syntax is used.
this prevents problems with namespaces and scopes.
Merge pull request #9361 from senny/improved_match_shorthand_syntax

determine the match shorthand target early.
tweaks to the AP changelog [ci skip]
completes pass over the AP changelog [ci skip]
Added beginning_of_minute support to core_ext calculations for Time and DateTime
Merge pull request #9365 from gaganawhad/core-ext-beginning-of-minute

Added beginning_of_minute support to core_ext calculations for Time and DateTime
fix time_tag helper and update tests to not rely on dynamically generated values

  Before `time_tag Date.today` will return `<time
  datetime="2013-02-14T00:00:00+00:00">February 14, 2013</time>`.
  This commit fixes time_tag helper to use RFC-3339 full-date format
  (Y-m-d) in datetime attribute.
document setting custom datetime attribute for time_tag helper
Merge pull request #9334 from NARKOZ/time_tag

use ISO 8601 format in time_tag helper
Fix backwards compatibility with Rails 3 apps.

When we removed script/rails and introduced bin/rails, we accidentally
introduced a regression. If you install Rails 4 as a gem, then try to do
something in a Rails 3 application:

    $ rails g

This will throw the 'please type rails new foo' message rather than the
proper generator documentation message. This is because older apps don't
have bin/rails.

Therefore, we now *prefer* bin/rails, but still search for script/rails,
and exec the one we find.
Correct comment for (beginning|end)_of_minute
Merge pull request #9384 from eval/documentation_of_minute

Correct comment for (beginning|end)_of_minute [ci skip]