migrate from phEDExNodetocmsName to PNNtoPSN

@ticoann @ericvaandering 

fix for issue #5341. Note that the new API PNNtoPSN returns a list of possible PSNs where as the phedexNodetocmsName returned a single PSN string. I have therefore just taken the first element in this list. Does this sound reasonable?

please review

--Alex
@ticoann do we even need this bit of code now if we are migrating everything to use PNN? why do we here want to convert to PSN?