Add postgresql::hba_from_hash

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>