A Unified Framework for the Polarizable Embedding and Continuum Methods Within Multiconfigurational Self-consistent Field Theory