Make AppListFragment work when embedded in the settings app

also, add wrappers for dealing with `AppOpsManager` functions.