Style fixes (pep8, pylint, pyflakes)
Python 2.6 compatibility
model.pk is the generic way of accessing the primary key
Merge pull request #5 from oxilion/cleanups

Cleanups