Change activerecord and activesupport versions to allow use with Rails 4