Use feature detection rather than version

This allows rails 4 users to use the protected_attributes gem along with
default_value_for.