Update Postgres adapter to match Panoptes' tables

Add scripts to generate data update sql statements in adapter
mend
Merge pull request #17 from edpaget/update-database

Update Postgres adapter to match Panoptes' tables