Commit Briefs
Remove trailing \r characters.
These come in before filtering, but don't survive upon delivery
Fix line-counting by skipping over \r on the end of the line.
Also fix wrong signature length check while here
Canonicalize line before applying test rules to it
This makes 100% from 12200 mails succeed
Replace custom hash functions with context based.
minus 51 LoC
