Fixes #2380: Added `yii\widgets\ActiveForm::enableClientScript` to support turning on and off client side script generation