Change the order of base classes for cursor.
Change the order of base classes for cursor.

With this change it is possible to monkey-patch execute method
to SimpleCursorBase and get interesting logs of everything
that goes through.

techtonik/postgres.py,techtonik/postgres.py,gratipay/postgres.py,gratipay/postgres.py