core: emit dht events
core: emit dht events

This makes programatic use easier, e.g. in tests we can wait for
the first announce and then kick off the client.

davide-scola/grenache-grape,bitfinexcom/grenache-grape