Support for same-name tables in multi-schema dbs
Hey, thanks a ton for this!  I will look into merging it this week.

I have a scenario with a Postgres multi-schema database with tables with identical names in different schemas. This patch fixes the foreign-key resolution for such tables.
