TEIID-2799 When the metadata is imported for the cache, add the pkkey when its defined
Merge pull request #175 from vhalbert/teiid-2799

TEIID-2799 Import primary key metadata
TEIID-2804 reducing the scope of the empty check and correcting to only
use count(*)
TEIID-2801 addressing hive having support and having support in general