allow having ENV vars setup for template1 settings

adding functionality to allow having ENV vars setup setting for template1 such as: encoding, collate, ctype. adding a ~/.pgpass. making scripts executable in git makes more sense than having a run which creates a new intermediary container and increases the size of the image and build time. install the language (for collation) pack if not installed. fixing query. setting LANG (was empty) to collate.