Try connection with specified db when postgres does not work

Conflicts:

	lib/setup.php
Correct escaping
improve comment
Merge pull request #3684 from owncloud/pg_install_db_master

Try connection with specified db when postgres does not work