Fix high priority Findbugs warnings + bug fixes

Fix http://www.molgenis.org/jenkins/job/molgenis-reports/155/findbugsResult/HIGH/
Fix #1992 Updating data explorer rows with nillable mref and no values results in error
Fix #2042 Using extends gives duplicate attributes in the standardsregistry tree view