Remove comments from .gitignore.

Preparing for removing duplicates.
Sort entries in .gitignore. Preparing to remove duplicates and useless
excludes.
Cleanup .gitignore.
Add swap files to .gitignore.