add post-checkout git-hook to delete .pyc files

this is a common source of confusion when trying to reproduce
an error on another branch
Merge pull request #2639 from dimagi/delete-pyc-hook

add post-checkout git-hook to delete .pyc files