Add postgreSQL composite key schema dump support

Add schema dump support for composite keys to postgres, with the
original dump format for single column foreign keys.