fixes #2108, upgrade to postgresql 9.3, fix tests
fix pry gem warning