MDL-63658 core_favourites: adding paging support to the service layer