Update .gitignore

Update .gitignore to ignore files commonly written by OS X, Vim, Ruby,
and Rails.