updated the database.yml file and the gemfile with postgresql instead of sqlite3; also updated the spec file with the base title function to dry it out