Updated gemspec for Rails 4 compatibility; added installation instructions to readme

I'm using this in a Rails 4 project, so I updated the gemspec to allow that. It will still work in Rails 3.1+.

I also added installation instructions for the asset pipeline to the readme.

Tested this and it works.