Fix href attribute passed to legacy callback

Legacy callbacks are using the simplyfied href, without `contao/main.php?do=...`. Using a legacy callback break the link at the moment because the request part is added twice.

Instead of passing the built href to the callback, the parameters should be used building the href again. This PR provides an implementation for this.