Introducing an interface for the emitter to facilitate testing in the gorouter

Signed-off-by: Johannes Tuchscherer <jtuchscherer@pivotallabs.com>