Making salt.modules.postgres python3 compatible
List call not needed. Changing it back to what it was
Reorganizing imports
Merge pull request #17515 from nmadhok/modules-python3-postgres

Making salt.modules.postgres python3 compatible