Add git ignore spm_modules dir for spm 3.2.
Add detector version info in examples.