Some whitespace cleanup
Spelling error
Pep8 cleanup
Retry operational errors once.

This also moves the transaction logic to the new features introduced in
Django 1.6. Thus, this requires Django 1.6.

Also, the code is cleaned up some more and should be easier to read.

Fixes #3
Better line continuation
Merge branch 'updates-and-retry'