Share contact groups2

Supersedes #665; depends on owncloud/core#11383. Should fix #38.