Update .gitignore with commonly unused c++ extensions

Based on the study of other c++ projects.