Allow scrubbing headers just as params are scrubbed

Scrubbing headers is as important as doing it for params since there could be sensitive information there as well.

Includes spec and a fix to make the tests go green on Rails 4 as well.