Test self-fk across differing types
Use KeyComparable for checking self-reference
merge nathanlws: Use KeyComparable for checking self-reference

Merge pull request #1228 from nathanlws/sql-layer/fk-self-reference-different-types
https://github.com/FoundationDB/sql-layer/pull/1228