MDL-37459 admin: Admin settings flags

Make "Advanced" and "Lockable" flags for any admin setting.