Fix LengthHiding middleware for Rails 3.0

This resolves the middleware issue I brought up in https://github.com/meldium/breach-mitigation-rails/pull/3