adds minimal .gitignore

I added a minimal .gitignore so that build artefacts won't get committed accidentally.
This would be really helpful for me, I'm trying to do crazy things with submodules :)