Added .gitignore

Just a quick pull request containing a `.gitignore`. It contains what `.hgignore` contains plus `*.pyc`.