Fixed pep8
Merge pull request #1 from przemekmazurek/BUG_3849

Fixed pep8
Improved tests coverage.
Fixed couple minor bugs.
Merge pull request #2 from przemekmazurek/BUG_3850

Improved tests coverage.
Adds Buildout support.
Adds simple .gitignore for Python/Buildout.