Added uniqueness constraints for institute_person_links, closes #3213.

Added a migration with SQL to remove any existing duplicate records, and then build unique indices for `person_id` and `institution_id` to `InstitiutionPersonLinks`. Altered `#finalize_institution` to use `#find_or_create_by`. Added tests.