Allow foreign key creation with empty columns.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Merge pull request #1308 from ashutoshdhundhara/rfe_919

RFE#919 Improvement.