Update router.js

enhanced deactivate to close #605

the app library does not depend on the router and therefore cannot be responsible for the activator lifecycle. it makes the most sense to add a "disable current item" on the "disable router" function that can be called before setting a new root.