The MEGA Project for Medium Energy Gamma-ray Astronomy