Fix EZP-21438: Improve permission handling to use view_embed

This is a second PR on kernel for https://jira.ez.no/browse/EZP-21438

`view_embed` permission checking in XMLText HTML5 converter was missing in the original PR.

Testing: unit tests and manual tests.