update gitignore and Gemfile

Add rails_12factor gem to Gemfile for Heroku deployment, minor changes for consistency. 

 Added various to gitignore based on [github rails.gitignore](https://github.com/github/gitignore/blob/master/Rails.gitignore).