Update dependencies to rails 4.0

There doesn't appear to be anything that affected this gem with rails 4, so I just changed the gemspec.