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

https://jira.ez.no/browse/EZP-22897

Simply adds easy access to `persistent_variable` set in legacy:

```jinja
{% set persistent_variable = ezpublish.legacy.get( "persistent_variable" ) %}
```