merge tjoneslo: Groupjoinfinder find fks

Merge pull request #1158 from tjoneslo/sql-layer/groupjoinfinder-find-fks
https://github.com/FoundationDB/sql-layer/pull/1158