Intermediate commit to save changes for other work. 
Get ColumnEquivalenceFinder to add FK joins to equivlence list. But is
too aggressive. And GroupJoinFinder needs to use Equivs to find joins
properly.
Merge branch 'foreignkey-use-join' into find-fks-layered
Update the ColumnEquivelenceFinder to find more/better potential
equivelences by looking throught the FKs for all of the tables used in
the query. 

This enhances the group join finder, which in turn makes the
JoinAndIndexPicker more capable of finding joins to select. 

Add to the RulesTests for this enhancement.
Minor cleanup and optimization to check fewer FKs.
Reduce number of FKs to check

Add two (non-functional) tests for large processing used in
verification.
Split the Equivalencies into two (column and FK), adding the former to
the latter for finding FK joins, and the former left alone for general
processing. 

Add test case as explained by Merge comments to ensure correct
processing.
Add Long test tat now passes.
Update the ColumnEquivalenceFinder to handle two cases: child table with
no declared primary key, and subqueries getting the FKs Equivs
correctly.

Add test for same from Hibernate.
Conditions attached to to an INNER join are as good as WHERE conditions for outer joins beneath it.
Some new tests.
Add a test for the problem.
Assemble null index key as literal null.
Add a test demonstrating why HKeyRow_Default still needs to output even with a NULL component.
Merge branch 'master' into find-fks-layered
Merge with trunk produces some slightly different results in the
RulesTest.
merge MMcM: Use inner join conditions in outer join promotion

Merge pull request #1203 from MMcM/sql-layer/promote-inner-join-conditions
https://github.com/FoundationDB/sql-layer/pull/1203
merge tjoneslo: Large query part 3: Expand column equivalents

Merge pull request #1197 from tjoneslo/sql-layer/find-fks-layered
https://github.com/FoundationDB/sql-layer/pull/1197
merge MMcM: Assemble IS NULL condition for HKeyRow_Default

Merge pull request #1204 from MMcM/sql-layer/null-hkey-row
https://github.com/FoundationDB/sql-layer/pull/1204
If logging debug, include stack trace even for InvalidOperationException.
merge MMcM: If logging debug, include stack trace even for InvalidOperationException

Merge pull request #1206 from MMcM/sql-layer/pg-debug-error-trace
https://github.com/FoundationDB/sql-layer/pull/1206