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
Merge pull request #3184 from machty/currentRouteName

Add currentRouteName to ApplicationController