A number of changes to have more flexibility

- The postgres binary path has to be specified now, we can have several
  postgres instalations
- Using primary and foreign key definitions from dss.ri
- Index creation modified accordingly