Add .cache to the Python .gitignore

`.cache` is generated when unittests are run with py.test
Merge pull request #842 from borntyping/patch-1

Add .cache to the Python .gitignore