Complete rewrite of ldap since gitlab 7.4 dropped the old parameters