Space Detectors for Gamma Rays (100 MeV - 100 GeV): from EGRET to Fermi LAT