Add a .gitignore to ignore some common Python artifacts.