Use psycopg2 if available.
Merge branch 'master' of github.com:joewing/ms3