Adding pagination to API listing of torrent file collections and their items