Update threadHasPermission in thread-utils to support MinimallyEncodedRawThreadInfo via .minimallyEncoded and hasPermission check.
Going to go ahead and do a refactor of a bunch of utils in thread-utils all at once, but will separate out the more "important" ones(?) into their own diffs
Depends on D9809