Nanophotonics With Optically Active Defects In Wide-Bandgap Semiconductors