Fix EZP-22409: Creating an object with relationlist fails when target class is being edited.
Added Regression Test for EZP-22409
Merge pull request #751 from joaoinacio/EZP-22409_relationlist_class_version

Fix EZP-22409: Creating an object with relationlist fails when target cl...