Tweak a few minor things to allow it to start to work as a Django 1.0 DB backend.
Tweak a few minor things to allow it to start to work as a Django 1.0 DB backend.

barryp/py-bpgsql,olopez32/py-bpgsql,d33tah/bpgsql