Fix composite foreign keys

sandman.model.utils.prepare_relationships created a wrong string
representation of foreign_keys when the FK was a composite key.
Update to create a proper list, like "[table.column1,table.column2]".