CMS-2762 Make ImageSelector set a valid name of embedded image content

Created api.Name class to ensure name validation. ContentName now extends api.Name