Updated the .gitignore by including code from the github template.

See https://github.com/github/gitignore/blob/master/Python.gitignore