Address reference resolution issues
Several issues emerged as part of the updates to newer base components. - [x] Template references not resolved (especially in groups) - [x] Performance regressions - [x] Code duplication when resolving imported definitions - [x] Resolution of types - [x] Resolution of (extended) field references in particular in array / set of variables and parameters - [x] Resolution of (external) function, template, altstep references (FunctionInstance, see separate issue on handling of ambiguities)
issue