Instabilities And Chaos In Quantum Optics