internal/router: bulk metadata API implemention

We also fix all paths so that they start with / after splitting. This makes them compatible with the usual way that paths are specified in URLs.
Will this have to change if we agree with core about the proposal about the syntax of charm.URL and charm.ReferenceURL?