Django 1.5 compatible

Making this Django 1.5 compatible


also done:

* improved test coverage from 64% to 92%
* multiple minor PEP8 fixes
* added image tests to help with https://github.com/jamiecurle/django-omblog/issues/4