Fix EZP-23086: Image thumbnail not shown

Link: https://jira.ez.no/browse/EZP-23086

## Description
Thumbnails are not shown when using urlalias_uria and quotes. See link for description.

Based on @dpobel remarks on #1011
This patch adds a parameter to  `eZURI::transformURI` in order to be able to get results without html encoding. This is useful when the result needs to be used in javascript. Result is then escaped (for JS code) in the javascript code.

## Tests
Manual tests