Do not add twice enums in namespaces when they come from rootpcms
Get right the re-loading of enums coming from protoclasses.

We need to remove the re-loaded enums from the unloaded list
if the enums come from protoclasses. This is necessary to avoid the
presence of duplicates in the typesystem.