Radiation hydrodynamics including irradiation and adaptive mesh refinement with AZEuS. I. Methods