(maint) bump version of Mocha, pg, & activerecord

Prior to this commit, the tests were experiencing strange failures due
to an errant $SAFE being set. The root cause was never determined, but
the problem goes away with the newer versions of the gems included in
this commit.