Added php documents to get the favorites of a user as well as get the items of a certain favorite. Also added functions to phpapi.php.