MDL-32526 Course: After creating course user should be redirected to newly created course

After creating a new course if user has capability to enrol users then
enrol user page should be visible else user should see newly created course
MDL-37459: Make "Advanced" and "Lockable" just flags for any admin setting.
MDL-37459 Admin settings - Add class missing variables for admin_settings class.
MDL-37459 Admin form defaults - freeze locked elements and add icon.
MDL-37459 Admin form defaults - Use setConstant when value is locked.