ref #6333 Add generic support for entity collection sections to allow adding existing entities
refactoring of package names for consistency
image mime types are now set automatically. Although this is a bit of a hack.