[feature/twig] Add addslashes filter (to use on LA_ instead of escape)

To match previous parser behavior

PHPBB3-11598
[feature/twig] Add S_BLOCK_NAME to context, set S_NUM_ROWS in alter_block

PHPBB3-11598
[feature/twig] A bit of cleanup in twig.php

PHPBB3-11598