ENG-7193: Add /profile to get current user's permissions.

/profile will return { "user" : username, "permissions \:["ALLPROC","DEFAULTPROC","DEFAULTPROCREAD","SQL","SQLREAD"] }
instead of creating the enum set you could use

```java
for (Permission p: Permission.values()) {
    // ...
}
```