Refactoring the encoding and locale variables when setting up postgresql
Solved encoding and locale problem when creating new dbs in postgresql - fixed #4