Update .gitignore
This gives a better overview of what and why is ignored. It is also fine to have a build subdirectory named other than build
now. It might make sense to come up with a file naming convention for the test executables and logs to make it easier to ignore them though.