Embedded, graph‐theoretically defined many‐body approximations for wavefunction‐in‐DFT and DFT‐in‐DFT : Applications to gas‐ and condensed‐phase ab initio molecular dynamics, and potential surfaces for quantum nuclear effects