fix router is nil inside out_copy, out_roundrobin, and BufferedOutput secondary.
In addition, set default router to be root_agent.event_router to avoid nil error in 3rd party plugins