Allow to limit the group matching size.

Allow to pass a block to the ldap searches.
Merge pull request #27 from github/limit_filter_groups

Allow to limit the group matching size.