[core] Nested members support

Support old subgroup methods by providing a switch.
Support nested members by recursively searching ldap tree.
Added tests validating nested group import.