Add a generic ServiceRef; use it for listing parts of a VM, library or class and for evaluation results.

Build lists of service refs in a more generic way.