CMS-3242 Live Edit - Automatically rename components when configuring from empty mode

Replaced formCleanString() with removeInvalidChars() util function.