Updates .gitignore. (Adds IDE/OS files to ignore.) [ci skip]

For the convenience of all contributors.