drastic speedup for nested ldap groups
drastic speedup for nested ldap groups

Changes a function call in getUserGroups to only retrieve group ids instead of objects.
this change significantly improves performance when using owncloud with many groups, e.g. nested ldap hierarchy (1.2.840.113556.1.4.1941), since getUserGroups gets called in oc_share::getItems, which is needed for every page request.
in my particular case, it took more than 10s to load the calendar page and more than 6s to load the file page.
this was in an environment with 100 user groups (nested) per user. The performance was bad due to the following call stack:
self::getManager()->getUserGroups($user)
  - getGroupObject() (executed for every group!)
     - groupExists() (resulting in many ldap-requests)
since the groups are loaded from ldap, it is unnecessary to check whether the group exists or not.
Ardinis/server,Ardinis/server,pixelipo/server,endsguy/server,andreas-p/nextcloud-server,phil-davis/core,pixelipo/server,bluelml/core,pollopolea/core,bluelml/core,lrytz/core,endsguy/server,pixelipo/server,lrytz/core,whitekiba/server,pixelipo/server,michaelletzgus/nextcloud-server,IljaN/core,sharidas/core,owncloud/core,whitekiba/server,pmattern/server,andreas-p/nextcloud-server,pmattern/server,owncloud/core,bluelml/core,pollopolea/core,michaelletzgus/nextcloud-server,cernbox/core,andreas-p/nextcloud-server,xx621998xx/server,pollopolea/core,pollopolea/core,andreas-p/nextcloud-server,lrytz/core,xx621998xx/server,jbicha/server,IljaN/core,cernbox/core,michaelletzgus/nextcloud-server,endsguy/server,endsguy/server,nextcloud/server,whitekiba/server,sharidas/core,pmattern/server,bluelml/core,pmattern/server,Ardinis/server,sharidas/core,whitekiba/server,nextcloud/server,michaelletzgus/nextcloud-server,pixelipo/server,xx621998xx/server,sharidas/core,owncloud/core,lrytz/core,sharidas/core,endsguy/server,owncloud/core,jbicha/server,cernbox/core,jbicha/server,Ardinis/server,cernbox/core,andreas-p/nextcloud-server,xx621998xx/server,jbicha/server,pollopolea/core,lrytz/core,cernbox/core,IljaN/core,jbicha/server,Ardinis/server,whitekiba/server,nextcloud/server,IljaN/core,IljaN/core,owncloud/core,pmattern/server,xx621998xx/server,bluelml/core,nextcloud/server