Add ability to create/validate invalid foreign keys in Postgres
#27756

travisofthenorth wants to merge travisofthenorth:validate-foreign-keys into rails:master

We do not currently have an analysis of these two commits