add optional countUsersInGroup method to group backends
implement countUsersInGroup in LDAP group backend
ask implementsAction instead of checking method_exists for easier testing
add group tests
fix return value when a search string was passed to return integer instead of array
add tests for LDAP
Merge pull request #8059 from owncloud/countUsersInGroup

add optional countUsersInGroup method to group backends