Improve the .gitignore file

This augmented .gitignore arranges to ignore Rails documentation files,
Vim and Emacs swap files, and .DS_Store directories created by the Finder.