ECMS-5630: Uploaded groovy file is neither recognized nor editable

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