fixes bug; adds test (repeatEventOnLeak) for it
adds routing to todomvc example