add example database.yml file
upgrade to rails 3.2.17 & add application setting for heroku