Make release_add support adding the same object twice in the same call
This is an edge case, but the mirror infrastructure is apparently hitting it. We modify the SQL query to be properly idempotent.
Depends on !349 (closed)
Test Plan
added new unit test
Migrated from D2771 (view on Phabricator)