Fixed plugins build script on Linux.

Minor fix on ModelWidget when adding constraints to relationship.

Minor improvements on save / retore constraint indexes on relationship.
Merge branch 'qt5-port' of https://github.com/pgmodeler/pgmodeler into qt5-port