Use Rails 3.* as development dependency

Tests are unable to run because of features deprecated in Rails 4.0 that still exists
in dummy application.