High-energy gamma-ray emission from solar flares: Summary of fermi large area telescope detections and analysis of two m-class flares