Made it work with python-3.2, added some documentation

Existing tests are passing with python-2.7, python-3.2 and python-3.3. Tests are 
currently unfinished though.

Fixes #271