Unify URL decomposition code for DOMURL, HTMLAnchorElement, Location and WorkerLocation using the curiously recurring template pattern.
I think this is done given that we have URLDecomposition. There might be more that can be unified, but that would require more investigation and tightly scoped bugs.