Improves test coverage and brings several minor fixes.
One mayor change: Using LDIF templates instead of LDAP queries to create the LDAP entity. This needs to be tested on the reference infrastructure.
TODO:
Improve coherence between the different library interfaces