Silence activesupport 4.1.x deprecation warnings.

This is admittedly hacky but it avoids sacrificing backwards compatibility with activesupport
4.0.x and earlier while silencing the deprecation warnings with 4.1.0.

The reason I slice the first 5 characters of the version number is to chop the `beta1` or `rc1` 
strings that throw of comparisons.