Fix EZP-21747: Translated name should be accessible from a Page block

https://jira.ez.no/browse/EZP-21747

Follow up of [EZP-21531](https://jira.ez.no/browse/EZP-21531).
In many cases you can only have ContentInfo object exposed, so
`ez_content_name()` Twig function should accept Content or ContentInfo
objects to get name from.

Open question is: Should it be in 5.2 ? My POV is that yes :octocat: