[FEATURE] Overriding paths for Legacy and Gridelements templates

This change enables reading of TypoScript to respect overridden Flux template paths, allowing paths to the Legacy and Gridelements templates to be defined using TypoScript.