Restructure and merge .gitignore files

Remove about 125 .gitignore files and 25 remove-potcdate.sin scripts from the repo.

The main reason for this PR though is that the gitignore-rules were split between these files for no obvious reason. There are still quite a few left under src/, but the bulk of them is merged with the root one.