Rails 4 support and gemspec fixes

I tried installing the gem into our Rails 4 project and got a dependency conflict. I didn't really see anything Rails 3-specific, so I just changed the version specification.

I also got a few installation warnings that I fixed with small edits to the gemspec.