Updates pg gem to version 0.17.1

What could possibly go wrong? This fixes connection issues people (definitely not just me :smiley:) have on Mavericks machines and ruby 2.0.