Silicon Nitride Integrated Photonic Devices And Their Applications In Astronomy And Quantum Physics