Instabilities, Dynamics and Chaos in Nonlinear Optical Systems