Process route parameters in menu.yml

Use path function if route parameter provided in menu.yml.

Eg. you have a route like:
- name: named_route
- route: /{action}/{id}

You have to add this in menu.yml:
```YAML
- label: Named route
  route: named_route
  param:
    action: edit
    id: 1
  add: "#add-this" # postfix string to add to the end of the generated route
```