ruby-rails: upgrade to 4.0.12 (CVE-2013-0334, CVE-2014-3482, CVE-2014-3483, CVE-2014-3514, CVE-2014-7818, CVE-2014-7819)

fixes #3152
fixes #3332
fixes #3475
fixes #3581
fixes #3585
ruby-redmine-rails: upgrade to 3.2.21 (CVE-2014-3482, CVE-2014-3483, CVE-2014-7818, CVE-2014-7819)

fixes #3152
fixes #3581
fixes #3585