add a .gitignore and fix small bug in src/LyonPrimaryGeneratorAction.cc on cosmic gun option