Fix bugs found by flake8.
Remove "idempotent" from method declaration.
Add check for existing user.

A ValidationException will be thrown when the
user already exists in the DB.
Add exception handling to ldap.py.