core: erlydtl - allow lookup in a list of  n-tuples (n>2) by first tuple element.
(cherry picked from commit 3c51abd9176b5072aaf5051a05f12eadc689f8cc)