Add psql_tid and psql_pid

Adding PostgreSQL transaction ID
and PostgreSQL backend PID to WSCursor and logs
cursor -> sync_cursor
Merge pull request #4 from gisce/gh4

Assign transaction_id and pid to WsCursor