Hooks in CleanupService for all ResourceIterators

o Ensures that IAGD dependency resolver only performs correct casts
o Javadocs for ResourceIter*
o Makes Node.getLabels return a ResourceIterable
o Makes IndexHits ResourceIter*