CMS-2762 Make ImageSelector set a valid name of embedded image content
Moved ensureValidContentName to api.Name
and made WizardHeaderWithDisplayNameAndName use api.Name.ensureValidContentName instead