use $search parameter to search for users within a group

use $search parameter to search for users within a group

This works with the ownCloud user and group backend. @blizzz does this also works with LDAP?
fix #10513
fix #8899

Can we just remove that line instead?