prepared app for deploying to heroku

Edited gemfile and database stuff. Also fixed a previous mistake with the badges.