Coherent and Incoherent Dynamics in Quantum Dots and Nanophotonic Devices