Fix SQL injection via nested hashes in conditions
CVE-2012-5664 options hashes should only be extracted if there are extra parameters
Merge remote-tracking branch 'rails/2-3-stable' into 2-3-stable
Merge pull request #6722 from adgear/2-3-stable

Backported rails 2.3 fix for CVE-2012-2695
Adding .gemspec files for all gems in the 2-3-stable version of rails, copied and pasted together from the Rakefiles in the gem directories.
This way, you can point to this branch from a Gemfile and bundler can pick up the gems in the gem directories.

Had to copy&paste two classes/modules from the rake gem into the railties .gemspec file, as it's using FileList and requiring rake there
is a circular dependency.
Bumped version in gemspec to 2.3.14
Changed constants into variables to avoid warnings during installation of gems
fixed