Terahertz Quantum Cascade Lasers As Local Oscillators For Astronomy