Multiple fixes

  * Fix missed port in psql commands
  * Packages for specified version
  * Restart postgresql on first configuration
  * Configurable ssl