fix for https://github.com/dotCMS/dotCMS/issues/5118, delete content relationships in the style of ContentletAjax.java
Merge pull request #5962 from cj-architech/master-2.5

fix for https://github.com/dotCMS/dotCMS/issues/5118