[childAdmin] append the parent's id only if exist.

Hi,
This allow to generate child route manually like:
```twig
childAdmin.generateUrl('edit', { id: 1, childId: 3 })
```