cfaf86b059
This patch adds several things: - favourite entity class under local/entity - refactoring of repository and service to use the new class instead of stdClass. - update repository unit tests to use the object instead of stdClass. - update service_test so that the mock repo requires the object for the add operation. - remove unnecessary constructor from favourites_repository class.