Cperello/ldap unittest

With this we are now ready to create unittests with Mocked LDAP connections.

Just use as the base class EBox::Test::LDAPClass instead of EBox::Test::Class or Test::Class and the Net::LDAP object will be a Mocked one automatically. No need to do anything else.

There is an example usage at main/users/src/EBox/t/Ldap.t which is an start unittest suit for our EBox::Ldap object implementation.

To be able to execute those tests you will need the package libtest-net-ldap-perl which is available on my PPA at: https://launchpad.net/~carlos/+archive/zentyal/+packages (@jacalvo should copy it into Zentyal's PPA before merging this into master or Jenkins builds will fail).