NSS attribute mapping

When using an Active Directory as LDAP server there is a need to map certain attributes and object classes to match what is expected by the linux system. This commit adds support for creating such mappings by specifying hashes of local expected attribute as hash key, and remote attribute to map against as the hash value.