Upgrade to Rails 4.1

Tested with Redmine 3.0~20140825-1 (debian package currently available in testing).