Update manager.php

add caching to getUserGroupIds
Update manager.php

added description and blank lines in getUserGroupIds
Update manager.php

defined $uid in getUserGroupIds
Update manager.php
Update manager.php
Update manager.php
clean up function getUserGroupIds

clean up of function getUserGroupIds and improved caching mechanism of cachedUserGroupIds
modified caching mechanism in getUserGroupIds

removed cachedUserGroupIds, instead changed indexing in getUserGroups to groupId
adapted tests for a groupId indexed group array
set password field placeholder back if passward was disabled
Fix SVG icons

FIXME: Ugly hack to prevent SVG of being returned if the SVG
provider is not enabled.
This is required because the preview system is designed in a
bad way and relies on opt-in with asterisks (i.e. image/*)
which will lead to the fact that a SVG will also match the image
provider.

Conflicts:
	lib/private/preview.php
Remove insane comment
Add PHPDoc about sanitization of "insertIfNotExist"

Let's document this potential pitfall properly.
Merge pull request #11594 from owncloud/sharing_toggle_password

set password field placeholder back if passward was disabled
Merge pull request #11629 from owncloud/add-notice-to-php-doc

Add PHPDoc about sanitization of "insertIfNotExist"
fixing usage of EncryptionException
Merge pull request #11611 from owncloud/fix-svg-master

Fix SVG icons
Merge pull request #9104 from macjohnny/macjohnny-drastic-ldap-speedup

drastic ldap speedup (update)
adding cssmin and jssmin(minify)

adding argument deleteSelf to rmdirr() - if false the directory itself will not be deleted only it's content

adding repair step to clean the asset cache after upgrade + coding style adjustments
Encapsulate require_once to avoid name space bleedind

The script required by require_once might use variable names like $app
which will conflict with the code that follows.

This fix encapsulates require_once into its own function to avoid such
issues.