Remove dependency on Django's request context processor.
Remove dependency on django-pygments, which doesn't have a PyPI release supporting Python 3.x
Fix issue where adding a Pattern to a set raises an Unhashable Type error. I could've sworn this worked in Python 2.x, but who knows.
Fixed issue where generating a sha1 requires bytes, rather than unicode strings, under Python 3.x
Fix imports for django-nap bits, required to run the test project.