modify cloudooo/handler/ooo/helper to support LibreOffice 4.

* use getDocumentProperties() and getUserDefinedProperties() instead of deprecated getDocumentInfo().
* use python3 syntaxes.