changed assets precompile config
db changed to pg and database.yml updated for heroku.