Cleaned up codebase with pyflakes
Moved tests.models to tests.documents
Cleaned up using pylint and my own eyes
Merge branch 'release/0.1' into develop

* release/0.1:
  Cleaned up using pylint and my own eyes
  Moved tests.models to tests.documents
  Cleaned up codebase with pyflakes