Abstract out attribute_mapping filling in LDAP driver.

bp refactor-ldap-driver

Change-Id: I4b3bb2900b54f046b05d68f15fb6e35b324ca9f7
Merge "Abstract out attribute_mapping filling in LDAP driver."