Add a test that demonstrates the Project problem.
Add the missing else.
Fix existing test case.
merge MMcM: Fix NULL UNION NULL handling

Merge pull request #1089 from MMcM/sql-layer/union-null-data-types
https://github.com/FoundationDB/sql-layer/pull/1089