Stop postgresql before changing port.
Various fixes to the tests.
Allow psql to fail as it sometimes will in the tests.
Fix the way we remove postgresql::client.
Fix tests on Centos.