Updating .gitignore.

This project's .gitignore is based on the Python .gitignore from
Github's gitignore repository:
<https://github.com/github/gitignore/blob/master/Python.gitignore>.
Changes should generally be made by submitting a pull request to that
repository instead of modifying this file.