First light for the next generation of compton and pair telescopes : development of new techniques for the data analysis of combined compton and pair telescopes and their application to the MEGA prototype