Remove usage of legacy OC_Appconfig

This is mostly for the apps shipped in core

More usages will be replaced in other PR's

cc @karlitschek @DeepDiver1975 @PVince81