TMDM-7552: "Delete records failed in databrowser and throw NullPointerException"

Fix NPE related to use of a non yet completed API.
(https://jira.talendforge.org/browse/TMDM-7552)
TMDM-7266 : Edit the reference name ,save it will throw NPE
Merge branch 'bugfix/TMDM-7266'
Merge branch 'master' into bugfix/TMDM-7550
TMDM-7550: "FK Infos on inherited type attribute rejected"

Adds unit test for issue.
(https://jira.talendforge.org/browse/TMDM-7550)