Reactions which are marked as duplicates but have no matching reactions are considered errors. Fixes #389
Also add several tests which check that the various kinds of duplicate reactions are being identified as errors or allowed as intended.