created an utility to transition to route more easily

usage:
`reactRouter.transitionTo(getRouteName(["dashboard", "transaction", "newBill"]));`
 the array comes directly from 
```ts
metaData.addFrontendRoute({
    idPath: ["dashboard", "transaction", "newBill"],
    component: "NewBillPage",
    name: "newBill",
    path: "/transaction/bill/new"
  });
```