Computing and Detector Simulation Framework for the HIBEAM/NNBAR Experimental Program at the ESS