Support Rails 4

There was a small change to the ```routes.rb``` but it continues to work across Rails 3 & 4. I also loosened the gem dependency for Rails.