WICKET-5717 Support fragment in Url parse and toString

Note: this PR is for the wicket-6.x branch.