Dynamics of Quantum Dot Lasers:Effects of Optical Feedback and Exteal Optical Injection