User lockout protection, fixed #666

Protection of updating and deleting users and groups if this caused a lockout of the requesting user.
Merge pull request #708 from normanjaeckel/Issue666

Issue666 – User lockout protection