EZP-21874: ParentContentType Limitation does not work correctly with draft Content

This PR resolves issue https://jira.ez.no/browse/EZP-21874

`ParentContentTypeLimitationType` is fixed to work with draft Content.
Integration test for it is updated and unit tests are implemented.