ECMS-5202: CLONE - CalendarField value problem with sub node in dialog

Fix description:
   - Correct the source code to accept also Calendar object in parameter
   - Get the result to display in the date field
ECMS-5200: CLONE - The accented characters are not properly saved in Template Management in Windows Server

Fix description:
   - using encoding utf-8 to save string value