Fix invalid mixing of pointer, oid and int lists.
Change xact_callback behavior.

Previously, one xact_callback was registered for every modified relation.
Now, only one is registered, and a list of modified relations is kept in memory.
Re-implement GetUserMapping, so as not to care about nested errors management.
Style according to pg_indent.