perms: Add MapUsers method
Created by: asdine
This extracts the user mapping logic from the GraphQL resolver and adds it to the PermStore for reuse. This is going to be used by the Bitbucket permissions worker as well.
Related to https://github.com/sourcegraph/sourcegraph/issues/36450
Test plan
Added a unit test