Fixes has-many-dobule-linked join table attribute changes on injected setter

I'm not quite sure how the first version should've worked since the foreign
keys are afaik always prefixed with the table name which results in
mytable.mytable_id.

This commit keeps the old behavior as first try to remain backwards compatible.

Would be nice to see this as well as my other commit in NPM version of sequelize.