Add rails_12factor for both Rails 3 and Rails 4.

New changelog entry suggests using rails_12factor in your Rails 3 application so
Heroku won't inject plugins at compile time so deprecation warnings no longer
appear in logs.