Fix some edge cases around abandoned states
Upgrade router.js to the latest version

The new feature there is substates, but we're not exposing them properly in cherrytree yet.
Add a todo item to README