Fix Rails XML parsing vulnerability.

This one: http://arstechnica.com/security/2013/01/extremely-crtical-ruby-on-rails-bug-threatens-more-than-200000-sites/

Using the workaround detailed here: https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion