Update README

Add Gemfile instructions for Rails 4 branch, and update code examples
to Ruby 1.9.3 / 2.0.0 hash syntax.