ECMS-5868: CLONE - Uploaded groovy file is neither recognized nor editable

Fix description:
  -  add groovy, gtmpl, grs to the authorized mimetype