Making the pg_replication check executable + minor touchups

such that `$PGUSER` is used instead of `PGUSER` and presence of `psql`
in `$PATH` is enforced.
Merge pull request #11 from modcloth-labs/postgresql-pg-replication-touchup

Making the pg_replication check executable + minor touchups