Port init_ldap from django_placard

This is a copy of the init_ldap script from placard which has been
updated to work with the latest version of tldap.

Change-Id: I9ea6ba86f0957ddbe90feddf133bd0139b246888