- libreoffice4 is using python 3 instead of 2.X. Python code is now compatible with both versions
- fixed lots of indentation problems in python
- quick fix proposed by robertknight on https://github.com/Mendeley/openoffice-plugin/issues/9