add postgres to dev and test
add a template database.yml file for local postresql server