Effects of multimode light matter coupling on semiclassical and quantum Rabi oscillations of a two level system