Stable7 backport oo homedir

Backport of https://github.com/owncloud/documents/pull/311 to stable7.
Allow doc<->odt conversion without environment tweaks