Config cleanup - OC_Preferences refactoring

cc @icewind1991 @DeepDiver1975 @PVince81 @LukasReschke 

 * [x] removal of all OC_Preferences references in core and apps  I find in this github org.
I dropped d02ac97a65bf5bdde0554f64a8717c9a044b7527