More efficient group share resolving
More efficient group share resolving

When resolving a group share to the user group share we used to do this
on a per share basis. Now we try to do this for all group shares at
once. Of course still chunked.

Before: N incomming group shares this would mean 1 + N queries
Now: N incomming roups shares this would mean 1 + 1 queries

Signed-off-by: Roeland Jago Douma <982d370f7dc34a05b4abe8788f899578d515262d@famdouma.nl>

pmattern/server,pmattern/server,xx621998xx/server,whitekiba/server,pixelipo/server,andreas-p/nextcloud-server,xx621998xx/server,jbicha/server,endsguy/server,pmattern/server,pmattern/server,whitekiba/server,pixelipo/server,andreas-p/nextcloud-server,Ardinis/server,xx621998xx/server,endsguy/server,Ardinis/server,Ardinis/server,jbicha/server,jbicha/server,xx621998xx/server,Ardinis/server,nextcloud/server,whitekiba/server,jbicha/server,nextcloud/server,whitekiba/server,pmattern/server,endsguy/server,nextcloud/server,pixelipo/server,andreas-p/nextcloud-server,michaelletzgus/nextcloud-server,michaelletzgus/nextcloud-server,endsguy/server,pixelipo/server,pixelipo/server,michaelletzgus/nextcloud-server,whitekiba/server,Ardinis/server,endsguy/server,andreas-p/nextcloud-server,xx621998xx/server,andreas-p/nextcloud-server,nextcloud/server,jbicha/server,michaelletzgus/nextcloud-server