Setup a .gitignore file

It is based on the former .hgignore

Change-Id: I397dadabe97e342f3e92956e3549fcf77a30cc85