Fixes issue #588: Added afterValidate to ActiveForm.
Support preloading modules