Record SQL from executemany.

Fix #293.
Also record SQL from callproc.

I'm not sure anyone is using that, but it's in the DB API.

Fix #293.