drop OC_Preferences::getUsers and getApps

cc @icewind1991 @DeepDiver1975 @PVince81 @LukasReschke