Fixed a bug that was causing some constraints to be destroyed when the
relationship was connected to the table that owned the constraint.
(issue #350)

The above fix change the way "special primary keys" are created on
generalization/copy relationships. User now need to create the
relationship first and reopen the its dialog in order to create the
special pk.
Merge branch 'fix-bug-350' into develop