A Unified Framework for Quantum Activated Rate Processes. I. General Theory