Correction on Model generation

[update] Added checking on project path in db and Model component
[update] Corrected PgAnalyzer to return correct array of primaries
[update] Changed getPK in getPrimaries in ModelInterface
[update] Added getPrimaries in AnalyserInterface as it was missing
[update] ModelSetup really generate model classes now