remoteNode.wasContactedRecently: consider pending queries too.

Also document the method a bit better.