Adding Django 1.5 compatibility
Fixes #133
Testing should work on 1.5 now