Test local conversion when saving the settings

Do a quick doc->odt conversion test and log raw openoffice output in case there is no output file

Ref https://github.com/owncloud/documents/issues/291
Please add `escapeshellarg` to prevent false positives by automated vulnerability scanners. Thanks.