api/origin: Add visit_type query parameter to api-1-origin-visit-latest
It enables to filter visits by type when querying the latest origin visit.
Use that new parameter in the search results view to ensure latest visits with correct type are fetched through XHRs.