Added Django 1.5 compatibility - mode on file-like object is not set in django anymore
Small style change
Fix a failing test
Release a 1.5 compatible version
`hashcompat` is deprecated as of Django 1.5

django.utils.hashcompat is deprecated as of Django 1.5. Use hashlib instead.
Merge pull request #198 from jaap3/hashcompat

`hashcompat` is deprecated as of Django 1.5
Consistently use brackets rather than slashes for long lines
Parameter indentation PEP8 fixes
Fix some PEP8 inconsistancies

Fixes #202