Added routes to Permissions module as well as dozens of other fixes.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ---
| Fixed tickets | ---
| Refs tickets  | #1788
| License       | MIT
| Doc PR        | ---