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
Refer to has-admin?
Fix typos.
Merge pull request #358 from MastodonC/feature/authn-changes-ui

Authn changes