calc pub self-refs ahead of time

@keertip

Calculate pub self-reference names as each pub project is initially touched. We do this as a workaround in lieu of the workspace meta-data persisting (#1578). This way the self-ref name will be available to use for resolution of self-ref package: links.