[feature/twig] Remove the get_rootref and get_tpldata functions prev added

These are not really necessary

PHPBB3-11598