CMS-4362 Fix naming when duplicating content

Fixed so that its not possible to save node with same name.
Create duplicate name and check if available