Change the API of `register_xsl` to make `$rewrite` truly optional, also make the registered rewrite for XSL match more cases so we can do with one rewrite for which we needed multiple before. Should fix issues with non-working XSL files, but the proof of that pudding is in the eating it on a gazillion different hosts.