[NUCCORE-1221] Update metadata classes to better define inheritance,
with TODOs added to ForeignKeyMetaData. Update NamingFactory to make use
of ConstraintMetaData rather than being index-specific