Add endpoint to resolve workspaces server-side
Created by: eseliger
This will be used in src-cli to make workspace resolution faster and rely on the same code path as SSBC does. Eventually that will mean that we can drop the old code path in src-cli entirely, at which point we won't need to maintain the same feature twice.
Test plan
Will be done with the src-cli PR that uses that.