Fix waiting when no documents to crawl are available. Apparently,
notifyAll and wait() were mixed up in the Frontier. wait ->  notifyAll
in addSeed was fixed before, and no notifyAll -> wait in getNextURLs is
fixed.
Avoid instantiating a RecentHost when host is null.