A UNIFIED THEORY FOR THE EFFECTS OF STELLAR PERTURBATIONS AND GALACTIC TIDES ON OORT CLOUD COMETS