Add rails3_before_render

To support https://github.com/theforeman/foreman/pull/952

http://koji.katello.org/koji/buildinfo?buildID=6934
http://koji.katello.org/koji/buildinfo?buildID=6932