This MR moves all the ldap handling into an own submodule.
I try to mimik here parts of the django API.