SEQWARE 1579, 1724 Support creation of root samples while adding a constraint to avoid duplicate sample_hierarchy entries

Users will need to run the update script while the existing MetadataPlugin should now function correctly.
Added more explanation and a demonstrating test
Make test even more explicit