New programme/project manager authn logic

- New programme/project manager authn logic
  - roles->role
  - Changes to editable.
  - use new has-* functions
- Updated UI for user management: dropdowns for role for each programme
  and project
- Updated the entire UI with the new allowed? logic
- Minor fixes to the UI