Added support for declaration of compound Foreign Keys in SQL dump

Hi, this commit intends to add support for compound foreign keys. In another words, if I reference a foreign key, this commit takes care of the SQL manipulation behind it.