A Second-Order, Quadratically Convergent Multiconfigurational Self-Consistent Field Polarizable Continuum Model for Equilibrium and Non-Equilibrium Solvation