detect user display name attribute and return user count depending on its presence
consolidate user count filter in wizard and user back end
detectors (email, displayname..) are now started in one place, triggered from only 2 places. more reliable structure and flow, saves requests
to reassure that selected attributes still work, do not count all matching entries but limit it to 1 in order to make it faster
a corrected email attribute needs to be saved, not only returned
JS doc
this happens already before counting, no need anymore
use underscore.js for undefined checks
better readbility, no effective changes
phpdoc and mixed up letters
trigger count on the correct filter
fix counting when ldapPagingSize is 0
make updateCount work properly with new xp'd mode as well as without
make scrutinizer happier and always count users on assisted mode, even with xp'ed mode (would be a regression otherwise)
Merge pull request #11837 from owncloud/fix-11328

unify count filters and introduce display name attribute detection