Added __hash__ to StringMorsel.
PEP8-compliant middleware.py.