More fixes so you no longer need my hacked version of python-sql at all.
Bunch of fixes and updates to the setup script.