When the user searches with a valid, archived URL, it makes more sense to redirect directly to the browse page rather than showing search results.
Two generic functions added are 'isValidURL' and 'isArchivedOrigin'.
First one returns a boolean whereas the latter returns a promise.
Related to T3354