[feature/twig] Some additional operators, more stuff for IF

PHPBB3-11598