Run on Rails 4
Remove support for Rails 3.0/3.1 and Ruby 1.8.7