Upgrade activerecord and activesupport dependency versions to 4.0

Move development dependencies from Gemfile to gemspec.