Paginates data and returns collection-based results for multiple Horizon endpoints.
link() :: String.t()
records() :: [resource(), ...]
resource() :: module()
response() :: map()
t() :: %Stellar.Horizon.Collection{ next: link(), prev: link(), records: records(), self: link() }
new(response :: {resource(), response()}) :: t()