add router.emit and router= for compatibility with v0.12
Merge pull request #510 from fluent/add_router_emit

add router.emit and router= for compatibility with v0.12