Bringing over another home-grown postgresql replication check

since the upstream one is kinda broken right now and works
different-like.
Spleling crorecttion
Merge pull request #12 from modcloth-cookbooks/yet-another-postgresql-replication-check

Bringing over another home-grown postgresql replication check