[Catalyst] Move PreferenceService into Settingslib

Add API check and allow caller to pass in scope and logger

Bug: 388167106
Test: atest
Flag: EXEMPT refactor
Change-Id: Ifb00a55ec3fe103b3657391e63c8e424019c196c
6 files changed