RED-9832
master
- update the corresponding functions for entity type import - fix the problem for upload a dossier template and update its name because of duplicate - added unit test for duplicate names