add .gitignore (using information from .hgignore)

I will remove the faulty pull request