Issue #629: Attribute ambiguity issue when eagerly loading.

I updated the postgres QueryGenerator to prepend table names to attributes in the where clause when doing a "select". This fixes the attribute ambiguity issue that you get when eager loading.
I followed the same pattern the MySQL QueryGenerator does to prepend the table name.

(I also removed to unneeded commas in the same file.)