Added convertRouteToHash to new router...

...enables better control of the generated hash appearance for use in
navs. Also, fixed a bug in convertRouteToModuleId.