Allow passing params to history.navigate to be applied to given path

Supports expanding named params in path