Add currentRouteName to ApplicationController

`currentRouteName`, unlike `currentPath`, can always be used as a target route
name within `linkTo` and `transitionTo` even for nested routes.

Closes #2812