Revert "Updates pg gem to 0.16.0"

This reverts commit 29f77d15fb2ab4c2470f52d7fae67339bd7d4871 until we have solved issues on the CI server.