Share contact groups

This PR depends on owncloud/core#11351 and is supposed to fix #38.