Fix DNN-5953: Refactored and fixed AdvancedFriendlyUrlProvider.RemoveExcludedPartsOfPath(...) to not replace /ctl/Category/mid/416 by /ctl/416?Category=mid

See https://dnntracker.atlassian.net/browse/DNN-5953 for more details