provide more cli friendly error messages
Merge pull request #6030 from owncloud/cli-errors

provide more cli friendly error messages when in cli mode