Authldap: implement change password in modifyUser
Allow authldap to change password with ldap superuser only if necessary
Hash and salt password with PassHash::ssha

Moved the block closer to the variable use (indent clearer)
Simplify code and remove unreachable check
log deprecated function calls FS#2399

This introduces a new dbg_deprecated() function which allows for easy
marking of deprecated functions. Each call is logged to the debuglog
when debuggin is enabled.
Merge pull request #693 from splitbrain/logdeprecated

log deprecated function calls FS#2399
Merge pull request #674 from axel-angel/authldap_modify-pass

Authldap: implement change password in modifyUser
fixed undefined variable in LDAP plugin