drop OC_Preferences::getUsers and getApps
Merge pull request #12336 from owncloud/drop-getApps-getUsers

drop OC_Preferences::getUsers and getApps