Implement register and run php scripts for modules

refs #5597
Fix: Missing class in GeneralFormTest