Feature detect based on Ruby version.

I didn't want to do this, FNM_EXTGLOB is defined on 2.1.x, but Dir.glob
returns the wrong value on Ruby less than 2.2.0.  Checking for a
case-insensitive FS seems too hard, so just check Ruby version  Checking
for a case-insensitive FS seems too hard, so just check Ruby version.
File.exists? is a deprecated name, use File.exist?

File.exists? is a deprecated name, use File.exist?
Merge pull request #15794 from vishalzambre/patch-1

File.exists? is a deprecated name, use File.exist?
Revert "Merge pull request #15794 from vishalzambre/patch-1"

This reverts commit 6d800a909e24465ca6f3fa5206222fa7d78967f6, reversing
changes made to 6a051299f98ee43864326c6c0a4f7d169d22b3f8.

We don't apply non-security fixes to 3-2-stable branch!!!
Make sure Active Support configurations are applied correctly

Before this patch configuration set using config.active_support
would not be set.

Closes #15364
Use a version of execjs compatible with Ruby 1.8
Check against bit string values using multiline regexp

Fix CVE-2014-3482.
Preparing for 3.2.19 release
Merge branch '3-2-sec' into 3-2-stable
Merge branch '3-2-stable' of https://github.com/rails/rails into 3-2-fixes