Fix EZP-21319: explicit heading levels

This PR resolves remaining issue on https://jira.ez.no/browse/EZP-21319

RichText titles (heading elements) can now have explicit level attribute.
Section structure used for heading levels in `ezxml` is now flattened in conversion.

Additionally a bug where multiple titles on the same level were not allowed is fixed.