Updated rails version to avoid vulnerability as per instructions from Heroku.
Updated git ignores.