[BUGFIX beta] sync router.js

Fixes #3810
[BUGFIX beta] make routePath smarter w/ stacked resource names

Logging will make more sense when stack route resource
names are used.

Fixes #3853