Fix flake8 errors

Might write a patch to make django-setuptest use flake8
instead of PEP 8.
mail_subscribers doesn't take a URL
Move sys.std[err|out] hacks to utils, and make them more robust
mail_subscribers takes no arguments
Fix for bad URL schemes
Add tests for import_tinyblog
Wrap serialization problems