Create a plugins.pro project.

Make pgmodeler.pro point at it and plugins source it to get
the correct path defines.