Add postgres to Hiera, add from_hash class

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