Removed trailing whitespace
Python 3 compatibility
Documentation update
Merge pull request #1 from kotnik/py3

Now it works in Python 3 as well