Updated requirements.
Fixed deprecated stuff.
Follow PEP-008 where it makes sense.
Added some tests.
Merge pull request #10 from apollo13/fixes

Fixes
Made the mailhide filter only mailhide when the MAILHIDE settings are set.

This makes testing immeserably easier so it's worth the slight uglyness.