allow to filter the templates by extension in the templatemap generator
better error message for bad extensions list format
add wildcard option at beginning of extensions
Merge branch 'feature/#6930-filter-templates-by-extension-in-template-map-generator' into develop

Close #6930