Update .gitignore

The addition to .gitignore will make sure that git will ignore any file names ending with ~. This should save contributors on UNIX systems time from having to modify .gitignore after cloning.