emsmdbp: refactor functions searching for either org or group
emsmdbp_object: sanity and error checks
Merge pull request #73 from Zentyal/jgarcia/mapiserver_get_administrative_group_refactor

Refactor function searching for organizational group and group names