Remove unneeded duplication definition of having in shared mysql adapter
Raise NoMatchingRow if calling add_association with a primary key value that doesn't match an existing row

Previously, a NoMethodError would have been raised later on in the
code.  This raises the error where it should be raised and makes
it clear it is because there is no matching row.