[WFCORE-213] :  Clean unreferenced items from the content repository

We are using ContentReference to track contents in the content repository.
Se are tracking references to overlays.
Trying to use server group definition for domain mode.
Simplifying ContentReference
WFCORE-211: Fixing overzealous cleaning of HC content.
WFCORE-178: ContentRepositoryImpl should not call File.deleteOnExit

Jira: https://issues.jboss.org/browse/WFCORE-213
and https://issues.jboss.org/browse/WFCORE-211
and https://issues.jboss.org/browse/WFCORE-178
In a ResultHandler in case of success you need to remove the previous ref.

This bit about ResultHandler applies everywhere, even places I haven't commented on before. Basically, any add or remove of a ref should happen in a ResultHandler, only in case of success.