fixes and refinements for LinkTargetResolver
integrate LinkTargetResolver into default RewriteRules and adjust tests