Taught pgsql_connection.erl to autosync

pgsql_connection processes will automatically initiate a Postgres
sync exchange with the database when a database error occurs. This
insures the connection is always in a sane state and relieves external
callers from having to care about syncing the connection after an error.
Removing dead code
Merge commit 'f24cee4170395ba69e96e5e56c876d947394e471'