Update ActiveRecord dependency to >= 4.0

This commit updates the ActiveRecord dependency in the Gemspec to work
with Rails 4.