cancel sharing if some users doesn't have a working encryption set-up.

Cancel sharing  if some users doesn't have a working encryption set-up and show a warning.

Issue: https://github.com/owncloud/core/issues/4253

cc @FlorinPeter @MTGap