Add signal to support additional foreign keys on Sample

This allows the delete-sample command to be extended, to support models with foreign keys pointing to Sample.