Use public api for getting l10n
Also extend public server interface
Merge pull request #10768 from owncloud/l10n-use-public

Use public api for getting l10n