repair Delete etc. after vendor version changes

- Make the delete confirmation dialog a little wider to allow for two wide buttons
- Fix a query glitch that prevented the detail view opening while logged on
- Delete permission required another toLowerCase to allow enabling for mixed-case usernames
- Get Delete actually working
Merge pull request #121 from JohnThomson/feature/fixDelete

repair Delete etc. after vendor version changes