[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
I mean this change is from a different commit than the one for WFCORE-213 as this PR is 2 commits, fixing 2 different issues.
I don't know if the second one (aka WFCORE-178) is to be backported