update database.yml for postgres
migrate to postgres in development and test
Merge branch 'pg'