Search for projects using ldap_list.

Previously we were using ldap_search which caused us to
find groupofnames objects that were within projects as well
as finding projects themselves.

Should be faster this way too.

For bug 47101.

Change-Id: Ida578039f7395f88c2339d209bb14aa235696987
Merge "Search for projects using ldap_list."