Added a Python based .gitignore

This .gitignore is from:
https://github.com/github/gitignore/blob/master/Python.gitignore
It has been added to reduce annoyances caused by Python
autogenerated files.