Update PostgresqlDriver.php

Update PostgresqlDriver to support non default port 5432. Same principal as MySQLi driver is used to get the database hostname and port from the host connection string (databasehost:port)
Update PostgresqlDriver.php

fixed indentation
Merge branch 'patch-1' of github.com:jdeproost/joomla-framework into jdeproost-patch-1
Fix code style