Generalization to provide more flexibility in postgresql configuration

Removed locale changes
Changed hard references from hard-coded the default user to the
parametrized user
Added global parameters to the postgresql class
Renamed init.pp parameters so that they would make more sense