Fix EZP-22735: Make {{ path( 'ez_urlalias' ) }} polymorphic

A fix for already existing issue at JIRA: https://jira.ez.no/browse/EZP-22735

Common usecase is to generate an URL to content in Relation field value.
Yeah, but what to do in that case? Throw an exception, or let already thrown the exception bubble up?