Fix association keys generation for `Relationship` and introduce `Relationship::foreignKeys()`.
Merge pull request #918 from jails/feature/relation-foreignkeys

Fix association keys generation for `Relationship` and introduce `Relationship::foreignKeys()`.