def locateChild(request, segments):
Locate another object which can be adapted to `IResource`.

:type  request: `IRequest <twisted:twisted.web.iweb.IRequest>`
:param request: Request.

:type  segments: ``sequence`` of `bytes`
:param segments: Sequence of strings giving the remaining query
    segments to resolve.

:rtype: 2-`tuple` of `IResource`, `IRenderable` or `URLPath` and
    a ``sequence`` of `bytes`
:return: Pair of an `IResource`, `IRenderable` or `URLPath` and
    a sequence of the remaining path segments to be process, or
    a `Deferred` containing the aforementioned result.