Numerical Methods For Cavity Quantum-Electrodynamics And The Exploration Of Hybrid Light-Matter States