change to Postgres

This changes to use postgres (except for dedupe_data.py).  I have tested on a clean install on a different machine so I believe the README is correct.