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

Added `capitalizeAll()` util function.