Added PostgreSQL version warning on upgrade
Log exception when PostgreSQL version check failed
fixing code style
Merge pull request #7748 from owncloud/postgresversionwarning

Added PostgreSQL version warning on upgrade