Fix EZP-22897: Missing access to persistent variable through LegacyHelper

Simply adds easy access to `persistent_variable` set in legacy:

```jinja
{% set persistent_variable = ezpublish.legacy.get( "persistent_variable" ) %}
```