Handle ldap search

Many LDAP implementations require looking up values in order to properly form the authentication bind.  This change allows for specifying a search string against the LDAP and a search used to pull the proper DN for a given user in these environments.  It also updates the command line management tooling to allow for specifying this new option via the manage.py command.