Update gemspec to allow use with Rails 4.
Merge pull request #17 from dougal/rails4compat

Update gemspec to allow use with Rails 4.