Don't assume db_host will be localhost in postgresql.pp

Fixes the errors mentioned in #18.
Not perfect, as it requires that remote db_hosts be set up in advance.  
But should still have the same behaviour for databases running on localhost.