Initial work for sending events on request success only.

Use a EventSink singleton, but with ThreadLocal list of events to send.

A servlet filter kicks in to make sure we dispatch events.