Added gitignore.
Avoid pushing private settings to git.
Adapted to django permissions.
Avoid error when profiles still does not have an associated user
Use read ldap password.
Better title
Adapt to django perms
Use random hashes for keys, use django perms