Adding postgresql class with $databases hash for Hiera

Will create `postgresql::server::db` resources using Hiera from the
`postgresql::databases` hash. Can totally add other resources this easily
in the future.