Self-consistent Harmonic Theory of Solvation in Glassy Systems: Quantum Solvation