Enable support for Rails 4

Change gemspec so it allows Rails 4. Jasmine test suite is all green.