Test self-fk across differing types
Use KeyComparable for checking self-reference
More SET CONSTRAINT cases
Should be else if
Make more ForeignKey protobuf fields optional for old databases.
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
merge nathanlws: Fix SET CONSTRAINTS ALL

Merge pull request #1229 from nathanlws/sql-layer/fix-set-constraint-all
https://github.com/FoundationDB/sql-layer/pull/1229
merge MMcM: Make more ForeignKey protobuf fields optional for old databases.

Merge pull request #1230 from MMcM/sql-layer/deferrable-foreign-key-optional
https://github.com/FoundationDB/sql-layer/pull/1230
Switch SERIAL to INT, add BIGSERIAL
A couple more test updates
merge nathanlws: Switch SERIAL alias to INTEGER

Merge pull request #1231 from nathanlws/sql-layer/serial-is-int
https://github.com/FoundationDB/sql-layer/pull/1231
Delete ignored test and resources
Test showing bad instance picking
Use actual column TInstance instead of the TClass default
merge nathanlws: Delete TypeComputerTest

Merge pull request #1232 from nathanlws/sql-layer/rm-typecomputertest
https://github.com/FoundationDB/sql-layer/pull/1232
merge nathanlws: Fix TopLevelCaster for types with arguments

Merge pull request #1233 from nathanlws/sql-layer/fix-top-level-caster
https://github.com/FoundationDB/sql-layer/pull/1233
Change sys.alter_seq_restart from a procedure to a function
Rename test suite that does both ends of IN transformation so can have one that just tests the first.
Add a test that demonstrates the problem.
Don't put WHERE conditions into an inside join unless it's INNER.